Method: Ork::Embeddable#inspect
- Defined in:
- lib/ork/model/embedded.rb
#inspect ⇒ Object
Pretty print for the model
Example:
User.new(name: 'John').inspect
# => #<User {:name=>"John"}>
44 45 46 |
# File 'lib/ork/model/embedded.rb', line 44 def inspect "#<#{model} #{attributes.inspect}>" end |