Class: Natsuzora::AST::Include

Inherits:
Node
  • Object
show all
Defined in:
lib/natsuzora/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



85
86
87
# File 'lib/natsuzora/ast.rb', line 85

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



85
86
87
# File 'lib/natsuzora/ast.rb', line 85

def name
  @name
end