Class: Kwartz::Directive

Inherits:
Object
  • Object
show all
Defined in:
lib/kwartz/converter.rb

Overview

directive

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argObject

Returns the value of attribute arg.



612
613
614
# File 'lib/kwartz/converter.rb', line 612

def arg
  @arg
end

#dattrObject

Returns the value of attribute dattr.



612
613
614
# File 'lib/kwartz/converter.rb', line 612

def dattr
  @dattr
end

#linenumObject

Returns the value of attribute linenum.



612
613
614
# File 'lib/kwartz/converter.rb', line 612

def linenum
  @linenum
end

#nameObject

Returns the value of attribute name.



612
613
614
# File 'lib/kwartz/converter.rb', line 612

def name
  @name
end

#strObject

Returns the value of attribute str.



612
613
614
# File 'lib/kwartz/converter.rb', line 612

def str
  @str
end