Class: XDry::NDefine
Instance Attribute Summary collapse
-
#word ⇒ Object
readonly
Returns the value of attribute word.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(word) ⇒ NDefine
constructor
A new instance of NDefine.
Methods inherited from Node
#method_missing, #tagged_with?, #tags, #tags=, #tags_comment
Constructor Details
#initialize(word) ⇒ NDefine
Returns a new instance of NDefine.
227 228 229 |
# File 'lib/xdry/parsing/nodes.rb', line 227 def initialize word @word = word end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class XDry::Node
Instance Attribute Details
#word ⇒ Object (readonly)
Returns the value of attribute word.
225 226 227 |
# File 'lib/xdry/parsing/nodes.rb', line 225 def word @word end |