Sha256: c9a6e92ac55cdb4ff413d2ab5907c40492690248f98850d7c8a846603879b444

Contents?: true

Size: 585 Bytes

Versions: 3

Compression:

Stored size: 585 Bytes

Contents

module Mext
  module Numeric

    PATH = File.join(Mext::PATH, 'numeric')
    VECTORIZABLE_METHODS = %w(
      mround
      cround
      mtof
      ftom
      ampdb
      dbamp
      pchtooctsemi
      pchtosemi
      semitopch
      pchtom
      mtopch
      cpspch
      pchcps
      gold
      rrand
      mmtot
      addsemi
    )
    NON_VECTORIZABLE_METHODS = %w(
      constants
      pitch_fork
      meter
    )
    ADDED_METHODS = NON_VECTORIZABLE_METHODS + VECTORIZABLE_METHODS

  end
end

Mext::Numeric::ADDED_METHODS.each { |f| require File.join(Mext::Numeric::PATH, f) }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-mext-0.21.2 lib/mext/numeric.rb
ruby-mext-0.21.1 lib/mext/numeric.rb
ruby-mext-0.21.0 lib/mext/numeric.rb