factorial 0.0.2 → 0.0.3

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.rdoc +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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-23 00:00:00.000000000 Z
12
+ date: 2012-08-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: it will calculate the factorial of the number
15
15
  email: santattech@gmail.com
@@ -24,6 +24,7 @@ files:
24
24
  - spec/factorial_spec.rb
25
25
  - bin/factorial
26
26
  - ./README.md
27
+ - ./README.rdoc
27
28
  homepage: http://rubygems.org/gems/factorial
28
29
  licenses: []
29
30
  post_install_message: