Class: NoSE::Serialize::FieldRepresenter

Inherits:
Representable::Decorator
  • Object
show all
Includes:
Representable::Hash, Representable::JSON, Representable::Uncached, Representable::YAML
Defined in:
lib/nose/serialize.rb

Overview

Represents a field just by the entity and name

Instance Method Summary collapse

Methods included from Representable::Uncached

#representable_map

Instance Method Details

#parentObject

The name of the parent entity



69
70
71
# File 'lib/nose/serialize.rb', line 69

def parent
  represented.parent.name
end