An open API service indexing awesome lists of open source software.

https://github.com/theluqmn/calculator.rb

A CLI calculator made with Ruby
https://github.com/theluqmn/calculator.rb

calculator console ruby

Last synced: 2 months ago
JSON representation

A CLI calculator made with Ruby

Awesome Lists containing this project

README

          

# Ruby Calculator

## About
An on-terminal calculator made using Ruby.
Unlike other calculators I've made, this one has the ability to store
variables with values, either an int or float.

The result of the `calc` operation will the stored in the default built-in
`ans` variable, which can is a valid input.

When prompted for an input, for the `calc` or `var` operation which
requires a value, simply enter a number or valid existing variable
name.