Class: NoSE::Serialize::UpdatePlanStepRepresenter
- Inherits:
-
PlanStepRepresenter
- Object
- Representable::Decorator
- PlanStepRepresenter
- NoSE::Serialize::UpdatePlanStepRepresenter
- Defined in:
- lib/nose/serialize.rb
Overview
Represent update plan steps
Instance Method Summary collapse
-
#cardinality ⇒ Fixnum
The estimated cardinality of entities being updated.
-
#type ⇒ Symbol
Set the hidden type variable.
-
#type=(type) ⇒ void
Set the hidden type variable.
Methods inherited from PlanStepRepresenter
Methods included from Representable::Uncached
Instance Method Details
#cardinality ⇒ Fixnum
The estimated cardinality of entities being updated
330 331 332 333 |
# File 'lib/nose/serialize.rb', line 330 def cardinality state = represented.instance_variable_get(:@state) state.cardinality unless state.nil? end |
#type ⇒ Symbol
Set the hidden type variable
316 317 318 |
# File 'lib/nose/serialize.rb', line 316 def type represented.instance_variable_get(:@type) end |
#type=(type) ⇒ void
This method returns an undefined value.
Set the hidden type variable
322 323 324 |
# File 'lib/nose/serialize.rb', line 322 def type=(type) represented.instance_variable_set(:@type, type) end |