gogo_csv 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7de619d3220299cc5c0659f6119a9b8a4229234
4
- data.tar.gz: c50b615ee188e5ca7ad46ce2e90224540fff6976
3
+ metadata.gz: 3a4aaed56aa72b703f433a6b6ef4c1d60cd86bbd
4
+ data.tar.gz: cd4c38ea786766df74c599d9811c2ed656f7ac33
5
5
  SHA512:
6
- metadata.gz: 04c9d963cd0981bc75cb4e1a2c4507043f13537cafc37a46d2a10610f63b1d0010a1733fe107a95319254fafc708b300ece44401c046b0ab4dd49605165ccd15
7
- data.tar.gz: bb1722d53c94397a748540fcc41efbe1f1e4ca87f186a6a513c8e75d3c4118629d39366f220823ffa3cf4620af6477ab5786e3f69a0d4989217990396ba4d897
6
+ metadata.gz: a48cbb7a7e99b05e3d201b772c390caa27497a8945f08fbbc02a6b571c06bdd8ec788956a1ceaaa3ce336b33525c19f360bcdf35430c4ec3c9f2fc64547a99b6
7
+ data.tar.gz: 0e62ceda772c98718d4571e95bfe770fab0e6aa9639f26d76a510ddb32ffb595475833f734eeaae0fe0f6a94c9c7715d919994a7ce00cf11e3966ca7c520e720
@@ -9,6 +9,10 @@ module GogoCsv
9
9
  end
10
10
  end
11
11
 
12
+ def map_cal(from_num, to_num=from_num, &blk)
13
+ map { |row| row[to_num] = blk.(row[from_num]) }
14
+ end
15
+
12
16
  private
13
17
 
14
18
  def arys?
@@ -1,3 +1,3 @@
1
1
  module GogoCsv
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogo_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - gogotanaka