FactorialOperations
A simple gem for factorial operations.
Installation
Add this line to your application's Gemfile:
gem 'factorial_operations'And then execute:
$ bundle
Or install it yourself as:
$ gem install factorial_operations
Usage Examples
To calculate:
FactorialOperations.calculate(6)To get the calculated string:
FactorialOperations.factorial_to_s(6)Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/odracir8/factorial_operations. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Copyright
Copyright (c) 2015 Ricardo Ribeiro. See LICENSE.txt for further details.