Skip to content

PatrickJS/ruby_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#
#       Ruby Calculator v1.1.0
#          by gdi2290
#
#     MRI Ruby Version: 2.0.0p195

bundle install
rspec --profile

My output:

...

Top 3 slowest examples (37.08 seconds, 100.0% of total time):
  Performance Calculator::MethodMissing calculates in
    12.5 seconds ./spec/calculator_spec.rb:29
  Performance Calculator::Basic calculates in
    12.34 seconds ./spec/calculator_spec.rb:43
  Performance Calculator::DefineMethod calculates in
    12.25 seconds ./spec/calculator_spec.rb:36

Finished in 37.37 seconds
3 examples, 0 failures

About

The simplest form of a calculator made in Ruby 2.0.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages