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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd40dd381c05b85be6559ea6b241b771cbb92676
4
- data.tar.gz: aee035eb3a80b127b4eec4cba4ff4b351e8bf643
3
+ metadata.gz: 8eab851638e4772803645cd94b241ebceda9e665
4
+ data.tar.gz: 1fda57eb5feabd44a88ecd22e69fc2d43677cea5
5
5
  SHA512:
6
- metadata.gz: 5b844204c79c0c24011f5e90911a4c1a2f4d9812b3b548750542775900269eff8c8a7737c767866ca1c3973e7b6b3407dc0cda50672c3eaa4398841c63a1f2ba
7
- data.tar.gz: b5dea8e90f6f03ec26eed424f02c85e25468d62f697b6a28865fb53c9c03e6b50533f6270145ebb7d35b9517df53c83c9c514f8d99334a6fe00f7e2bacaa4474
6
+ metadata.gz: 85438e815b2b70db3599a06496db240cc5f5fd450e8882e69b96fda6aed1eacb964ee93a11c00d82d9c290231203adee8009df1cd6fbe3a6f976293685b1b997
7
+ data.tar.gz: ed1848152dfbac0251117667b098d53c186815a974733d6e21fa8388527b23c1dbb9d359dd46ab890dee93b910c783fa4a03f6e59f85eeb491b3bd1e7eaf1c4c
@@ -1,3 +1,3 @@
1
1
  module Jisx0402
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/jisx0402.rb CHANGED
@@ -1,4 +1,4 @@
1
- #require "jisx0402/version"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jisx0402
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - cnosuke