Class: NoSE::Serialize::ModelRepresenter

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

Overview

Represent entities in a model

Instance Method Summary collapse

Methods included from Representable::Uncached

#representable_map

Instance Method Details

#entitiesArray<Entity>

A simple array of the entities in the model

Returns:



471
472
473
# File 'lib/nose/serialize.rb', line 471

def entities
  represented.entities.values
end