Class: Declension::Languages::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/declension/languages/base.rb

Direct Known Subclasses

Lv

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(word) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/declension/languages/base.rb', line 6

def initialize(word)
  self.word = word
end

Instance Attribute Details

#wordObject

Returns the value of attribute word.



4
5
6
# File 'lib/declension/languages/base.rb', line 4

def word
  @word
end

Instance Method Details

#inflect(grammar_case, options = {}) ⇒ Object



10
11
12
# File 'lib/declension/languages/base.rb', line 10

def inflect(grammar_case, options = {})
  word
end