Sha256: e00b0117f642ee7f374348554fb68d638ff05d7418cf0f04e0406feb54887e2c
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
require 'language_cards/models/grapheme' module LanguageCards module GraphemeBuilder # Hash {translation => grapheme} def self.call(translation_graphemes = {}) translation_graphemes.each_with_object([]) do |(key, value), memo| memo << Grapheme.new(key, value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
language_cards-0.3.2 | lib/language_cards/grapheme_builder.rb |
language_cards-0.3.1 | lib/language_cards/grapheme_builder.rb |
language_cards-0.3.0 | lib/language_cards/grapheme_builder.rb |