#626: macruby fails Class.class_eval in macruby but not in 1.8 & 1.9?
------------------------------------+---------------------------------------
Reporter: rebo...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
Macruby fails executing the below, but it works fine in ruby 1.8 and ruby
1.9, any ideas why?
module Macro
def foofoo
puts "barbar"
end
end
Class.class_eval do
include Macro
end
Array.foofoo
class_eval_test.rb:7:in `<main>': undefined method `foofoo' for
NSMutableArray:Class (NoMethodError)
--
Ticket URL: <http://www.macruby.org/trac/ticket/626>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel