numeric_hash 0.1.0 → 0.1.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.
- data/README.rdoc +1 -1
- data/lib/numeric_hash/version.rb +2 -2
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= NumericHash
|
|
2
2
|
|
|
3
|
-
Defines a hash whose values are +Numeric+ or additional nested +NumericHash+
|
|
3
|
+
Defines a hash whose values are +Numeric+ or additional nested +NumericHash+'s.
|
|
4
4
|
|
|
5
5
|
Common arithmetic methods available on +Numeric+ can be called on +NumericHash+
|
|
6
6
|
to affect all values within the +NumericHash+ at once.
|
data/lib/numeric_hash/version.rb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
VERSION = "0.1.
|
|
1
|
+
class NumericHash < Hash
|
|
2
|
+
VERSION = "0.1.2"
|
|
3
3
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: numeric_hash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Clyde Law
|