finance 0.2.0 → 1.0.0

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.
@@ -1,10 +0,0 @@
1
- class Numeric
2
- def months
3
- self
4
- end
5
-
6
- # Return the number of months.
7
- def years
8
- self * 12
9
- end
10
- end
@@ -1,12 +0,0 @@
1
- require 'finance'
2
- require 'test/unit'
3
-
4
- class TestTime < Test::Unit::TestCase
5
- def test_months
6
- assert_equal 360, 360.months
7
- end
8
-
9
- def test_years
10
- assert_equal 360, 30.years
11
- end
12
- end