Class: Struct
- Inherits:
-
Object
- Object
- Struct
- Defined in:
- lib/value_inspect/struct.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
4 5 6 |
# File 'lib/value_inspect/struct.rb', line 4 def inspect "%s.new(%s)" % [self.class.name, values.map(&:inspect).join(", ")] end |
#original_inspect ⇒ Object
2 |
# File 'lib/value_inspect/struct.rb', line 2 alias_method :original_inspect, :inspect |