[slang-users] slruby 0.0.3
Paul Boekholt
p.boekholt at gmail.com
Tue Apr 15 18:40:07 UTC 2008
Hi,
Version 0.0.3 of the Ruby module is out.
- use an extconf.rb to generate the Makefile
- fixed a problem when yielding multiple arguments to S-Lang in Ruby 1.9.
- added support for the '[]=' method for RubyValues. This means you
can use Ruby hashes in S-Lang:
slsh> variable x = rb_eval("{}");
slsh> x["foo"]=1;
slsh> x[PI]="foo";
slsh> x.inspect();
{"foo"=>1, 3.14159265358979=>"foo"}
- S-Lang functions called from Ruby now return an array instead of
just the top value on the stack.
Get it from http://www.cheesit.com/downloads/slang/slruby
More information about the slang-users-l
mailing list