lib/dentaku/ast/functions/rounddown.rb in dentaku-2.0.0 vs lib/dentaku/ast/functions/rounddown.rb in dentaku-2.0.1
- old
+ new
@@ -1,5 +1,5 @@
require_relative '../function'
-Dentaku::AST::Function.register(:rounddown, ->(numeric) {
+Dentaku::AST::Function.register(:rounddown, :numeric, ->(numeric) {
numeric.floor
})