Module: Duby::AST::Named

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



180
181
182
# File 'lib/duby/ast.rb', line 180

def name
  @name
end

Instance Method Details

#to_sObject



182
183
184
# File 'lib/duby/ast.rb', line 182

def to_s
  "#{super}(#{name})"
end