Created
May 15, 2014 15:11
-
-
Save murajun1978/c2593bacb6e078ee51d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| module Murajun | |
| class String | |
| def to_s | |
| "murajun1978" | |
| end | |
| end | |
| end | |
| "Ruby".to_s # => "Ruby" | |
| Murajun::String.new.to_s # => "murajun1978" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment