Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2015 18:20
test1, test2 = "bob", "jim"
new_method_name = (test1 << '_lunch').to_sym
define_method(:new_method_name) { puts "I am the test1_lunch method" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment