test/test.rb in sourcerer-0.6.0 vs test/test.rb in sourcerer-0.7.0

- old
+ new

@@ -20,32 +20,10 @@ puts opts.inspect } -puts asdf.source -puts asd.source -puts method(:test).source - - -#> output -test= Proc.new do |sym,options={},*params,&block| - - puts "some awsome code here" # comment - puts "yo" - -end # Proc - -puts test.source -# Proc.new { |sym,options={},*params,&block| -# -# puts "some awsome code here" -# puts "yo" -# -# } - - class HelloWorld #> TODO: comment remove from args def self.hello sym,sym2= "#{sym}", options={},*params,&block @@ -59,7 +37,20 @@ end end -puts HelloWorld.method(:hello).source +#> output +test2= Proc.new do |sym,options={},*params,&block| + + puts "some awsome code here" # comment + puts "yo" + +end # Proc + +puts asdf.source.body +puts asd.source.body +puts asd.source.params +# puts method(:test).source +# puts test2.source +# puts HelloWorld.method(:hello).source