Class: Faust2Ruby::AST::QualifiedName
- Defined in:
- lib/faust2ruby/ast.rb
Overview
Qualified name: os.osc, fi.lowpass, etc.
Instance Attribute Summary collapse
-
#parts ⇒ Object
readonly
Returns the value of attribute parts.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(parts, **opts) ⇒ QualifiedName
constructor
A new instance of QualifiedName.
- #to_s ⇒ Object
Constructor Details
#initialize(parts, **opts) ⇒ QualifiedName
Returns a new instance of QualifiedName.
98 99 100 101 |
# File 'lib/faust2ruby/ast.rb', line 98 def initialize(parts, **opts) super(**opts) @parts = parts end |
Instance Attribute Details
#parts ⇒ Object (readonly)
Returns the value of attribute parts.
96 97 98 |
# File 'lib/faust2ruby/ast.rb', line 96 def parts @parts end |
Instance Method Details
#to_s ⇒ Object
103 104 105 |
# File 'lib/faust2ruby/ast.rb', line 103 def to_s parts.join(".") end |