Class: Vangrail::Colang::Assign

Inherits:
Struct
  • Object
show all
Defined in:
lib/vangrail/colang/ast.rb

Overview

$var = execute action(key="value")

Instance Attribute Summary collapse

Instance Attribute Details

#expressionObject

Returns the value of attribute expression

Returns:

  • (Object)

    the current value of expression



34
35
36
# File 'lib/vangrail/colang/ast.rb', line 34

def expression
  @expression
end

#variableObject

Returns the value of attribute variable

Returns:

  • (Object)

    the current value of variable



34
35
36
# File 'lib/vangrail/colang/ast.rb', line 34

def variable
  @variable
end