Class: Celerity::Identifier
- Inherits:
-
Struct
- Object
- Struct
- Celerity::Identifier
- Defined in:
- lib/celerity/identifier.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(t, a = {}) ⇒ Identifier
constructor
A new instance of Identifier.
Constructor Details
#initialize(t, a = {}) ⇒ Identifier
Returns a new instance of Identifier.
6 7 8 |
# File 'lib/celerity/identifier.rb', line 6 def initialize(t, a={}) super(t, a) end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
3 4 5 |
# File 'lib/celerity/identifier.rb', line 3 def attributes @attributes end |
#tag ⇒ Object
Returns the value of attribute tag
3 4 5 |
# File 'lib/celerity/identifier.rb', line 3 def tag @tag end |
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/celerity/identifier.rb', line 4 def text @text end |