Sha256: e4602c26406f487bea9fb6827f66e2b3b943c1be1431f02d075cd6f4e6f1cca4

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

require_relative "../lib/sourcerer.rb"

test= Proc.new do |sym,options={},*params,&block|

  puts "some awsome code here"  # comment
  puts "yo"

end # Proc

#puts method(:hello_this).source
#puts test.source

def hello sym,sym2= "#{sym}", options={},*params,&block # the params

  [1,2,3].each do |do_|

    puts do_    # comment

  end

  puts "some code" # some comment

end

require 'debugger'
#debugger

#TODO finish up method reader
puts method(:hello).source

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sourcerer-0.5.1 examples/simple_test.rb