Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Reverse Polish Notation calculator
Ruby
Branch: master
Pull request Compare This branch is 1 commit behind omnikron:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.