numeric_math 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +2 -0
- data/README.rdoc +8 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df0739f662157c9f675088e080b90a00b67743b1
|
4
|
+
data.tar.gz: c7c7c408ac29ccaa5bb240a2abd6e574802cadee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec37fa3a55954f75d07654fdb696749dcce6bcef7641754a5668e6dbce2b9a26981dccdfff6669c5e47deed27890320a4461f62874cfe0ff3d86d8d7340b36e
|
7
|
+
data.tar.gz: bccffcde1343ebbaa7baeeeaca84344d10473d40774886df1c92023e76228a8557d79fa92c157db92b428b5256bf3e91f64a12cdbdae621598b53688cc8c09a4
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ With NumericMath you do:
|
|
15
15
|
|
16
16
|
1.5.sin
|
17
17
|
|
18
|
-
Math module includes many single argument methods, which take the
|
18
|
+
Math module includes many single argument methods, which take the form
|
19
19
|
as above. Two argument methods are mapped, so that first argument is
|
20
20
|
"self" and the second argument becomes the first and only parameter
|
21
21
|
for the new form.
|
@@ -33,6 +33,13 @@ The mapped methods are also usable as class methods, e.g:
|
|
33
33
|
|
34
34
|
Fixnum.sin( 2 )
|
35
35
|
|
36
|
+
The gem file name is "numeric_math", thus taking NumericMath into use requires:
|
37
|
+
|
38
|
+
require 'numeric_math'
|
39
|
+
...
|
40
|
+
Fixnum.sin( 0.12 )
|
41
|
+
2.cos
|
42
|
+
|
36
43
|
|
37
44
|
== Mapped methods
|
38
45
|
|
data/lib/version.rb
CHANGED