jisx0402 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/lib/jisx0402/version.rb +1 -1
- data/lib/jisx0402.rb +5 -4
- 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: 8eab851638e4772803645cd94b241ebceda9e665
|
4
|
+
data.tar.gz: 1fda57eb5feabd44a88ecd22e69fc2d43677cea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85438e815b2b70db3599a06496db240cc5f5fd450e8882e69b96fda6aed1eacb964ee93a11c00d82d9c290231203adee8009df1cd6fbe3a6f976293685b1b997
|
7
|
+
data.tar.gz: ed1848152dfbac0251117667b098d53c186815a974733d6e21fa8388527b23c1dbb9d359dd46ab890dee93b910c783fa4a03f6e59f85eeb491b3bd1e7eaf1c4c
|
data/lib/jisx0402/version.rb
CHANGED
data/lib/jisx0402.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require "jisx0402/version"
|
2
2
|
require 'csv'
|
3
3
|
|
4
4
|
module Jisx0402
|
@@ -57,8 +57,9 @@ module Jisx0402
|
|
57
57
|
def full(hiragana: false)
|
58
58
|
hiragana ? @row[6] : @row[5]
|
59
59
|
end
|
60
|
+
|
61
|
+
def first
|
62
|
+
self #compatible for Array#first
|
63
|
+
end
|
60
64
|
end
|
61
65
|
end
|
62
|
-
|
63
|
-
require 'pry'
|
64
|
-
pry
|