Method: BOAST::Arithmetic#**

Defined in:
lib/BOAST/Language/Arithmetic.rb

#**(x) ⇒ Expression

Returns an Exponentiation Expression bewtween self and x

Parameters:

  • x (#to_var)

Returns:



48
49
50
# File 'lib/BOAST/Language/Arithmetic.rb', line 48

def **(x)
  return Expression::new(Exponentiation,self,x)
end