Class: Convection::Model::Template::Metadata
- Inherits:
-
Object
- Object
- Convection::Model::Template::Metadata
- Defined in:
- lib/convection/model/template/metadata.rb
Overview
Metadata Attribute
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ Metadata
constructor
A new instance of Metadata.
- #render ⇒ Object
Constructor Details
#initialize(name, value) ⇒ Metadata
Returns a new instance of Metadata
11 12 13 14 |
# File 'lib/convection/model/template/metadata.rb', line 11 def initialize(name, value) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/convection/model/template/metadata.rb', line 8 def name @name end |
#value ⇒ Object
Returns the value of attribute value
9 10 11 |
# File 'lib/convection/model/template/metadata.rb', line 9 def value @value end |
Instance Method Details
#render ⇒ Object
16 17 18 |
# File 'lib/convection/model/template/metadata.rb', line 16 def render value end |