Class: Srgs::Metadata
- Inherits:
-
Object
- Object
- Srgs::Metadata
- Defined in:
- lib/srgs/elements/metadata.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(text) ⇒ Metadata
Returns a new instance of Metadata.
6 7 8 |
# File 'lib/srgs/elements/metadata.rb', line 6 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/srgs/elements/metadata.rb', line 4 def text @text end |