Module: Q::Slash0

Defined in:
lib/q/parser.rb

Instance Method Summary collapse

Instance Method Details

#apply(scope, a, b) ⇒ Object



1958
1959
1960
# File 'lib/q/parser.rb', line 1958

def apply scope, a, b
  scope['_'] = a.eval(scope) / b.eval(scope)
end