Created
October 29, 2010 16:28
-
-
Save tarcieri/653850 to your computer and use it in GitHub Desktop.
Stylizing a module name with a bang!
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
>> module Medioh; def self.inspect; "Medioh!"; end; end | |
=> nil | |
>> def Medioh!; Medioh; end | |
=> nil | |
>> Medioh! | |
=> Medioh! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment