factorial 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README.md +29 -0
  2. metadata +3 -2
@@ -0,0 +1,29 @@
1
+ Factorial
2
+ =============
3
+
4
+ Description
5
+ ------------
6
+ Factorial helps you to calculate the factorial of a number. e.g factorial of 5 = 120.
7
+
8
+ Requirements
9
+ ------------
10
+
11
+ * Ruby(tested with 1.9.3)
12
+ * Rspec(only if you want to run the tests)
13
+
14
+ Installation
15
+ ------------
16
+
17
+ gem install factorial
18
+
19
+
20
+
21
+ Usage
22
+ ------------
23
+ require 'factorial'
24
+
25
+ ### For determining the factorial of a number
26
+
27
+ fact = Factorial::Base.new(your_number)
28
+
29
+ fact.factorial_result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -23,7 +23,8 @@ files:
23
23
  - spec/spec_helper.rb
24
24
  - spec/factorial_spec.rb
25
25
  - bin/factorial
26
- homepage:
26
+ - ./README.md
27
+ homepage: http://rubygems.org/gems/factorial
27
28
  licenses: []
28
29
  post_install_message:
29
30
  rdoc_options: []