Module: Duby::AST::Named
- Included in:
- BlockArgument, Call, ClassDefinition, Constant, Field, FieldAssignment, FieldDeclaration, FunctionalCall, Local, LocalAssignment, LocalDeclaration, MacroDefinition, MethodDefinition, OptionalArgument, RequiredArgument, RestArgument, Super, TypeReference
- Defined in:
- lib/duby/ast.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
180 181 182 |
# File 'lib/duby/ast.rb', line 180 def name @name end |
Instance Method Details
#to_s ⇒ Object
182 183 184 |
# File 'lib/duby/ast.rb', line 182 def to_s "#{super}(#{name})" end |