Class: XDry::NImplementationStart

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(class_name) ⇒ NImplementationStart

Returns a new instance of NImplementationStart.



140
141
142
# File 'lib/xdry/parsing/nodes.rb', line 140

def initialize class_name
  @class_name = class_name
end

Dynamic Method Handling

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

Instance Attribute Details

#class_nameObject (readonly)

Returns the value of attribute class_name.



139
140
141
# File 'lib/xdry/parsing/nodes.rb', line 139

def class_name
  @class_name
end