Skip to content

Commit

Permalink
Removed comment: description for empty value and nil.
Browse files Browse the repository at this point in the history
  • Loading branch information
k-motoyan committed Mar 30, 2016
1 parent 535b271 commit 38db914
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/jp_prefecture/prefecture.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def self.all
# @return [Integer] 見つかった場合は都道府県コード
# @return [nil] 見つからない場合は nil
def self.find_code_by_name(name)
# nameがnil、空文字の場合は見つからないと判断してnilを返す。
return nil if name.nil? || name.empty?

name = name.downcase
Expand Down

0 comments on commit 38db914

Please sign in to comment.