Sha256: c2fd110cb5165a09ce551076634e524b22415a03177b2d9c1e56acaa3f302d9f

Contents?: true

Size: 164 Bytes

Versions: 17

Compression:

Stored size: 164 Bytes

Contents

require_relative '../function'

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

Version data entries

17 entries across 17 versions & 2 rubygems

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