Class: Natsuzora::AST::Include
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name:, args:) ⇒ Include
constructor
A new instance of Include.
Constructor Details
#initialize(name:, args:) ⇒ Include
Returns a new instance of Include.
87 88 89 90 91 |
# File 'lib/natsuzora/ast.rb', line 87 def initialize(name:, args:, **) super(**) @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
85 86 87 |
# File 'lib/natsuzora/ast.rb', line 85 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
85 86 87 |
# File 'lib/natsuzora/ast.rb', line 85 def name @name end |