Class: XDry::NInterfaceStart

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) ⇒ NInterfaceStart

Returns a new instance of NInterfaceStart.



133
134
135
# File 'lib/xdry/parsing/nodes.rb', line 133

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.



132
133
134
# File 'lib/xdry/parsing/nodes.rb', line 132

def class_name
  @class_name
end