Class: Kwalify::PlainYamlParser::Alias
- Inherits:
-
Object
- Object
- Kwalify::PlainYamlParser::Alias
- Defined in:
- lib/kwalify/yaml-parser.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#linenum ⇒ Object
readonly
Returns the value of attribute linenum.
Instance Method Summary collapse
-
#initialize(label, linenum) ⇒ Alias
constructor
A new instance of Alias.
Constructor Details
#initialize(label, linenum) ⇒ Alias
Returns a new instance of Alias.
28 29 30 31 |
# File 'lib/kwalify/yaml-parser.rb', line 28 def initialize(label, linenum) @label = label @linenum = linenum end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
32 33 34 |
# File 'lib/kwalify/yaml-parser.rb', line 32 def label @label end |
#linenum ⇒ Object (readonly)
Returns the value of attribute linenum.
32 33 34 |
# File 'lib/kwalify/yaml-parser.rb', line 32 def linenum @linenum end |