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