Sha256: a4b88cc1533c230cc58a5b7c995d05a4b35959699096a9d1406e8094bf73a72e
Contents?: true
Size: 313 Bytes
Versions: 1
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(value, key) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
language_cards-0.2.0 | lib/language_cards/grapheme_builder.rb |