Last active
September 9, 2018 07:54
-
-
Save mehdi-farsi/22d268ad76413dc23a3afeba94d106c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hash | |
def to_s | |
'hash' | |
end | |
end | |
h = {} | |
p h.to_s # => "hash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment