Class: Kwartz::Directive
- Inherits:
-
Object
- Object
- Kwartz::Directive
- Defined in:
- lib/kwartz/converter.rb
Overview
directive
Instance Attribute Summary collapse
-
#arg ⇒ Object
Returns the value of attribute arg.
-
#dattr ⇒ Object
Returns the value of attribute dattr.
-
#linenum ⇒ Object
Returns the value of attribute linenum.
-
#name ⇒ Object
Returns the value of attribute name.
-
#str ⇒ Object
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Directive
constructor
A new instance of Directive.
Constructor Details
#initialize(args = {}) ⇒ Directive
Returns a new instance of Directive.
603 604 605 606 607 608 609 |
# File 'lib/kwartz/converter.rb', line 603 def initialize(args={}) @name = args[:name] @arg = args[:arg] @dattr = args[:dattr] @str = args[:str] @linenum = args[:linenum] end |
Instance Attribute Details
#arg ⇒ Object
Returns the value of attribute arg.
612 613 614 |
# File 'lib/kwartz/converter.rb', line 612 def arg @arg end |
#dattr ⇒ Object
Returns the value of attribute dattr.
612 613 614 |
# File 'lib/kwartz/converter.rb', line 612 def dattr @dattr end |
#linenum ⇒ Object
Returns the value of attribute linenum.
612 613 614 |
# File 'lib/kwartz/converter.rb', line 612 def linenum @linenum end |
#name ⇒ Object
Returns the value of attribute name.
612 613 614 |
# File 'lib/kwartz/converter.rb', line 612 def name @name end |
#str ⇒ Object
Returns the value of attribute str.
612 613 614 |
# File 'lib/kwartz/converter.rb', line 612 def str @str end |