Method: Ork::Embeddable#inspect

Defined in:
lib/ork/model/embedded.rb

#inspectObject

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