Module: SequelMapper::ShortInspectionString
- Included in:
- CollectionMutabilityProxy, LazyObjectProxy, QueryableLazyDatasetLoader
- Defined in:
- lib/sequel_mapper/short_inspection_string.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/sequel_mapper/short_inspection_string.rb', line 3 def inspect "\#<#{self.class.name}:#{self.object_id.<<(1).to_s(16)} " + inspectable_properties.map { |property| [ property, instance_variable_get("@#{property}").inspect ].join("=") } .join(" ") + ">" end |
#inspectable_properties ⇒ Object
14 15 16 |
# File 'lib/sequel_mapper/short_inspection_string.rb', line 14 def inspectable_properties [] end |