Sha256: 354d901d7a45e892084030da333446e26cfed054c2fc7abd125af1b925aea57b

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

module LanguageCards
  class Grapheme
    attr_reader :translation
    def initialize grapheme, translation
      @grapheme = grapheme
      @translation = translation
    end

    def display
      @grapheme
    end

    def to_s
      @grapheme
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
language_cards-0.2.0 lib/language_cards/models/grapheme.rb