Reverse Polish Notation calculator
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit behind omnikron:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
README.md
init.rb

README.md

It's a Reverse Polish Notation calculator. Does what it says on the tin.

==

When loaded it adds a method evaluate_prefix to the String class.

Example: the string '3 5 +'.evaluate_prefix would give 8