class CAS::Smaller
This class is a Condition
for left smaller function
Public Instance Methods
call(fd)
click to toggle source
Function
call will evaluate left and right functions to solve the relation
* **argument**: `Hash` with feed dictionary * **returns**: `Trueclass` or `Falseclass`
# File lib/functions/fnc-conditions.rb, line 225 def call(fd) CAS::Help.assert fd, Hash return (@x.call(fd) < @y.call(fd)) end
representative()
click to toggle source
Saves some required elements
# File lib/functions/fnc-conditions.rb, line 215 def representative @cond_type = @cond_repr = "<" self end