Skip to content

Instantly share code, notes, and snippets.

@tal
Created June 16, 2011 20:17
Show Gist options
  • Select an option

  • Save tal/1030157 to your computer and use it in GitHub Desktop.

Select an option

Save tal/1030157 to your computer and use it in GitHub Desktop.
DSL attempt
class Abc
def foo *args
puts 'foo', args
end
def run
load '2.rb'
end
end
a = Abc.new
a.run
puts 'trying 2'
foo 'yo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment