Class: Stark::Parser::AST::Include
- Defined in:
- lib/stark/ast.rb,
lib/stark/raw_parser.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #accept(obj) ⇒ Object
-
#initialize(path) ⇒ Include
constructor
A new instance of Include.
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
#path ⇒ Object (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 |