Class: Celerity::Identifier

Inherits:
Struct
  • Object
show all
Defined in:
lib/celerity/identifier.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



3
4
5
# File 'lib/celerity/identifier.rb', line 3

def attributes
  @attributes
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



3
4
5
# File 'lib/celerity/identifier.rb', line 3

def tag
  @tag
end

#textObject

Returns the value of attribute text.



4
5
6
# File 'lib/celerity/identifier.rb', line 4

def text
  @text
end