Skip to content

Instantly share code, notes, and snippets.

@rubiii
Created August 8, 2010 12:12
Show Gist options
  • Save rubiii/513959 to your computer and use it in GitHub Desktop.
Save rubiii/513959 to your computer and use it in GitHub Desktop.
class Symbol
def self.method_added(method)
raise caller.to_s if method == :%
end
end
class Symbol
def %(arg)
self
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment