nishisuke_array 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/lib/nishisuke_array/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf1f0e391711badf728933b3d3f3678408a7b1b7c07ddabbfec4fb8df442e513
|
4
|
+
data.tar.gz: c330066b982c9710749bfab92e256bca60ce2e005ecec447cfac850165acf3fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62711888e5cf9d5f778873c2ecc5ff246687c98feeab7fe07781735f9fc77de3cdb41e69c9b31cab5751cf6abae192934230fe8d72853333a2caf3c7a2336684
|
7
|
+
data.tar.gz: dee1e2604fe0e548a9526425ea27745fb4a53eb63f25180faa12547efb25735f9a1e31cdd0bf20d308981fff8a5254f4c5dee3da7e85ec38dd10d8240a9c596f
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# NishisukeArray
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Ruby array extension, like NumPy of python
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,15 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
class Hoge
|
24
|
+
using NishisukeArray
|
25
|
+
|
26
|
+
p [1, 2, 3].cumsum #=> [1, 3, 6]
|
27
|
+
end
|
28
|
+
|
29
|
+
### extension methods
|
30
|
+
|
31
|
+
- cumsum, cumsum!
|
26
32
|
|
27
33
|
## Development
|
28
34
|
|