Class: Tataru::Representation
- Inherits:
-
Object
- Object
- Tataru::Representation
- Defined in:
- lib/tataru/representation.rb
Overview
base representation
Direct Known Subclasses
Tataru::Representations::ArrayRepresentation, Tataru::Representations::HashRepresentation, Tataru::Representations::LiteralRepresentation, Tataru::Representations::OutputRepresentation, Tataru::Representations::ResourceRepresentation
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #dependencies ⇒ Object
-
#initialize(value) ⇒ Representation
constructor
A new instance of Representation.
Constructor Details
#initialize(value) ⇒ Representation
Returns a new instance of Representation.
8 9 10 |
# File 'lib/tataru/representation.rb', line 8 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/tataru/representation.rb', line 6 def value @value end |
Instance Method Details
#dependencies ⇒ Object
12 13 14 |
# File 'lib/tataru/representation.rb', line 12 def dependencies [] end |