Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/shoes/inspect.rb

Instance Method Summary collapse

Instance Method Details

#make_inspect(m = :inspect) ⇒ Object


98
99
100
101
102
103
104
105
106
107
108
# File 'lib/shoes/inspect.rb', line 98

def make_inspect m = :inspect
    alias_method :the_original_inspect, m
    class_eval %{
        def inspect(hits = nil)
            the_original_inspect
        end
}
  #def to_html(hits = nil)
  #  #{m} + " <div class='classname'>" + self.class.name + "</div>"
  #end
end