Class: Faust2Ruby::AST::Import

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

Overview

Import statement: import(“stdfaust.lib”);

Instance Attribute Summary collapse

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

Constructor Details

#initialize(path, **opts) ⇒ Import

Returns a new instance of Import.



31
32
33
34
# File 'lib/faust2ruby/ast.rb', line 31

def initialize(path, **opts)
  super(**opts)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



29
30
31
# File 'lib/faust2ruby/ast.rb', line 29

def path
  @path
end