Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class Symbol
def method_missing(name, *args)
self.to_s.method(name).call(*args)
end
end
puts :hello.start_with "he"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.