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
require 'my_cheap_pretty_print' | |
# If the 'puts' syntax confuses you please look at my cheap pretty print for some help | |
require 'metaclass_mp' | |
class Greeter | |
def initialize(name) | |
@name = name | |
end | |
def greet | |
puts [__LINE__, self, self.class, "Inside an greet instance method"] |