Class: XDry::NReleaseCall

Inherits:
Node
  • Object
show all
Defined in:
lib/xdry/parsing/nodes.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#indent, #pos

Instance Method Summary collapse

Methods inherited from Node

#method_missing, #tagged_with?, #tags, #tags=, #tags_comment

Constructor Details

#initialize(expr) ⇒ NReleaseCall

Returns a new instance of NReleaseCall.



213
214
215
# File 'lib/xdry/parsing/nodes.rb', line 213

def initialize expr
  @expr = expr
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class XDry::Node

Instance Attribute Details

#exprObject (readonly)

Returns the value of attribute expr.



211
212
213
# File 'lib/xdry/parsing/nodes.rb', line 211

def expr
  @expr
end