Class: Renshuu::Grammar::Model

Inherits:
Model
  • Object
show all
Defined in:
lib/renshuu/models/grammar.rb

Overview

Model class for grammar models.

Instance Attribute Summary collapse

Instance Attribute Details

#hiraganaString (readonly)

Returns:

  • (String)


62
# File 'lib/renshuu/models/grammar.rb', line 62

attribute :hiragana, Types::String

#japaneseString (readonly)

Returns:

  • (String)


58
# File 'lib/renshuu/models/grammar.rb', line 58

attribute :japanese, Types::String

#meaningsHash{String => String} (readonly)

Returns:

  • (Hash{String => String})


66
# File 'lib/renshuu/models/grammar.rb', line 66

attribute :meanings, Types::Hash.map(Types::String, Types::String)