Class: NoSE::Serialize::FieldRepresenter
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- NoSE::Serialize::FieldRepresenter
- 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
-
#parent ⇒ Object
The name of the parent entity.
Methods included from Representable::Uncached
Instance Method Details
#parent ⇒ Object
The name of the parent entity
69 70 71 |
# File 'lib/nose/serialize.rb', line 69 def parent represented.parent.name end |