Module: ShortInspect::Minimal

Defined in:
lib/short_inspect.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



55
56
57
58
59
60
61
62
63
# File 'lib/short_inspect.rb', line 55

def self.included(base)
  base.class_eval do
    alias inspect_without_shortening inspect

    def inspect
      ShortInspect.basic_inspect(self)
    end
  end
end