lib/iso-639.rb in iso-639-0.3.6 vs lib/iso-639.rb in iso-639-0.3.8

- old
+ new

@@ -24,11 +24,11 @@ CSV.new(file, **{ col_sep: '|' }).each do |row| dataset << self[*row.map { |v| v || '' }].freeze end end - return dataset + dataset end.call.freeze # An inverted index generated from the ISO_639_2 data. Used for searching # all words and codes in all fields. INVERTED_INDEX = lambda do @@ -50,10 +50,10 @@ end end end end - return index + index end.call.freeze # The ISO 639-1 dataset as an array of entries. Each entry is an array with # the following format: # * [0]: an ISO 369-2 alpha-3 (bibliographic) code