rua 0.1.4-mswin32 → 0.1.5-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.txt +6 -0
  2. data/lib/i386-mswin32/rua.so +0 -0
  3. metadata +2 -2
data/README.txt CHANGED
@@ -10,6 +10,8 @@ Rua is a library for using Lua under Ruby.
10
10
 
11
11
  require 'rua'
12
12
 
13
+ class MyClass; end
14
+
13
15
  error_handler = lambda do |e|
14
16
  p e
15
17
  end
@@ -28,6 +30,8 @@ Rua is a library for using Lua under Ruby.
28
30
  raise 'err called.'
29
31
  end
30
32
  rua.Time = Time
33
+ rua.MyClass = MyClass
34
+
31
35
  puts rua.eval(<<-EOS)
32
36
  print('hello Rua!')
33
37
  print(str)
@@ -35,6 +39,7 @@ Rua is a library for using Lua under Ruby.
35
39
  proc()
36
40
  err()
37
41
  print(Time.new().to_s())
42
+ my_obj = MyClass.new()
38
43
 
39
44
  f = function()
40
45
  print('f() called.')
@@ -44,6 +49,7 @@ Rua is a library for using Lua under Ruby.
44
49
  EOS
45
50
 
46
51
  rua.f.call
52
+ p rua.my_obj
47
53
  p rua.eval('return 1, 2, 3')
48
54
 
49
55
  co = rua.eval(<<-EOS)
Binary file
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: rua
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.4
7
- date: 2007-11-15 00:00:00 +09:00
6
+ version: 0.1.5
7
+ date: 2007-11-17 00:00:00 +09:00
8
8
  summary: rua is a library for using Lua under Ruby.
9
9
  require_paths:
10
10
  - lib/i386-mswin32