Skip to content

Instantly share code, notes, and snippets.

@lotherk
Created March 11, 2014 19:36
Show Gist options
  • Save lotherk/9493391 to your computer and use it in GitHub Desktop.
Save lotherk/9493391 to your computer and use it in GitHub Desktop.
module A
def self.a
puts caller[0]
end
def self.b
self.a
end
end
A.b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment