test/test_helper.rb in method_source-0.2.0 vs test/test_helper.rb in method_source-0.3.2

- old
+ new

@@ -1,5 +1,18 @@ - # A comment for hello +class String + def clear + replace("") + end +end + +module M + def hello; :hello_module; end +end + +$o = Object.new +def $o.hello; :hello_singleton; end + +# A comment for hello # It spans two lines and is indented by 2 spaces def hello; :hello; end # a