Is there any special way for calling the ExecuteFile method:
engine.ExecuteFile("hello.rb",engine.CreateScope());
And here is the hello.rb file:
class Person
def greet()
puts 'hello world'
end
end
def getPerson()
return Person.new
end
getPerson()
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core
