class CAS::SmallerEqual
This class is a Condition
for left smaller or equal 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 279 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 268 def representative @cond_type = "<=" @cond_repr = "≤" self end