test/test_helper.rb in method_source-0.6.0 vs test/test_helper.rb in method_source-0.6.5

- old
+ new

@@ -1,8 +1,13 @@ def is_rbx? defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/ end +def jruby? + defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/ +end + + module M def hello; :hello_module; end end $o = Object.new