Sha256: 1a5fca61a502b9638aff0ad8747ca63baf28fc0cfcbdf37ba30534a31682ae2b

Contents?: true

Size: 164 Bytes

Versions: 17

Compression:

Stored size: 164 Bytes

Contents

require_relative '../function'

Dentaku::AST::Function.register(:max, :numeric, ->(*args) {
  args.flatten.map { |arg| Dentaku::AST::Function.numeric(arg) }.max
})

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
dentaku-3.5.4 lib/dentaku/ast/functions/max.rb
dentaku-3.5.3 lib/dentaku/ast/functions/max.rb
dentaku-3.5.2 lib/dentaku/ast/functions/max.rb
dentaku_zevo-3.5.2 lib/dentaku/ast/functions/max.rb
dentaku-3.5.1 lib/dentaku/ast/functions/max.rb
dentaku-3.5.0 lib/dentaku/ast/functions/max.rb
dentaku-3.4.2 lib/dentaku/ast/functions/max.rb
dentaku-3.4.1 lib/dentaku/ast/functions/max.rb
dentaku-3.4.0 lib/dentaku/ast/functions/max.rb
dentaku-3.3.4 lib/dentaku/ast/functions/max.rb
dentaku-3.3.3 lib/dentaku/ast/functions/max.rb
dentaku-3.3.2 lib/dentaku/ast/functions/max.rb
dentaku-3.3.1 lib/dentaku/ast/functions/max.rb
dentaku-3.3.0 lib/dentaku/ast/functions/max.rb
dentaku-3.2.1 lib/dentaku/ast/functions/max.rb
dentaku-3.2.0 lib/dentaku/ast/functions/max.rb
dentaku-3.1.0 lib/dentaku/ast/functions/max.rb