motion/managed_object.rb
# Returns a hash of attributes for the object
Returns a hash of attributes for the object
Returns a hash of attributes for the object
def attributes
    h = {}
    entity.attributesByName.each do |name, desc|
      h[name] = send name
    end
    h
  end
def attributes h = { } entity . attributesByName . each do | name , desc | h [ name ] = send name end h end
Returns a hash of attributes for the object
Returns a hash of attributes for the object