Class: Stark::Parser::AST::Include

Inherits:
Node
  • Object
show all
Defined in:
lib/stark/ast.rb,
lib/stark/raw_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Include

Returns a new instance of Include.



445
446
447
# File 'lib/stark/raw_parser.rb', line 445

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



448
449
450
# File 'lib/stark/raw_parser.rb', line 448

def path
  @path
end

Instance Method Details

#accept(obj) ⇒ Object



12
13
14
# File 'lib/stark/ast.rb', line 12

def accept(obj)
  obj.process_include self
end