Class: Chelsy::Directive::Undef
- Defined in:
- lib/chelsy/ast.rb
Overview
#undef
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, **rest) ⇒ Undef
constructor
A new instance of Undef.
Constructor Details
#initialize(name, **rest) ⇒ Undef
1215 1216 1217 1218 |
# File 'lib/chelsy/ast.rb', line 1215 def initialize(name, **rest) @name = Syntax::Ident.ensure(name) super **rest end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
1213 1214 1215 |
# File 'lib/chelsy/ast.rb', line 1213 def name @name end |