Math


What is

math if a gem, a collection of basic Arithmetic operations

Avaliable functions

functions avaliable through MathWild class

  • Sum functions
    • MathWild.sum(number,...,number x)
    • MathWild.sum_arr([number,...,number x])
  • Subtraction functions
    • MathWild.sub(number,...,number x)
    • MathWild.sub_arr([number,...,number x])
  • Division functions
    • MathWild.div(number,...,number x)
    • MathWild.div_arr([number,...,number x])
  • Multiplication function
    • MathWild.mul(number,...,number x)
    • MathWild.mul_arr([number,...,number x])
  • Special functions
    • MathWild.force_sum(number,...,number x)
    • MathWild.force_sub(number,...,number x)

How to Use

How to build and use as gem

  1. gem build ./math_wild.gemspec
  2.  gem install 'build_name'

using rubygem

  1. gem install math_wild

to run tests

  1. rake test or rake