lib/delorean/base.rb in delorean_lang-0.3.35 vs lib/delorean/base.rb in delorean_lang-0.3.36
- old
+ new
@@ -78,9 +78,10 @@
to_json: [Object],
abs: [Numeric],
round: [Numeric, [nil, Integer]],
ceil: [Numeric],
floor: [Numeric],
+ truncate: [Numeric, [nil, Integer]],
}
module BaseModule
class NodeCall < Struct.new(:_e, :engine, :node, :params)
def evaluate(attr)