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