module IrbCompat
Helper methods for IRB interactions
Public Instance Methods
inspect()
click to toggle source
@return [String] object inspection
# File lib/attribute_struct/irb_compat.rb, line 5 def inspect "<[#{self._klass}:#{@table.object_id}] - table: #{@table.inspect}>" end
to_s()
click to toggle source
@return [String] string of instance
# File lib/attribute_struct/irb_compat.rb, line 10 def to_s "<#{self._klass}:#{@table.object_id}>" end