Module: ValueInspect::Values::ClassMethods

Included in:
Value
Defined in:
lib/value_inspect/values.rb

Instance Method Summary collapse

Instance Method Details

#new(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/value_inspect/values.rb', line 4

def new(*args)
  cls = super
  cls.send(:alias_method, :original_inspect, :inspect)
  cls.prepend InstanceMethods
  cls
end