Class: Faust2Ruby::AST::Prime

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

Overview

Delay with prime: expr’

Instance Attribute Summary collapse

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

Constructor Details

#initialize(operand, **opts) ⇒ Prime

Returns a new instance of Prime.



254
255
256
257
# File 'lib/faust2ruby/ast.rb', line 254

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

Instance Attribute Details

#operandObject (readonly)

Returns the value of attribute operand.



252
253
254
# File 'lib/faust2ruby/ast.rb', line 252

def operand
  @operand
end