Class: TrangeFrange::Hundred
- Inherits:
-
Struct
- Object
- Struct
- TrangeFrange::Hundred
- Includes:
- BaseHelper
- Defined in:
- lib/trange_frange/hundred.rb
Constant Summary collapse
- HUNDREDS =
{ '0' => '', '1' => 'jedna stotina', '2' => 'dve stotine', '3' => 'tri stotine', '4' => 'četiri stotine', '5' => 'pet stotina', '6' => 'šest stotina', '7' => 'sedam stotina', '8' => 'osam stotina', '9' => 'devet stotina' }
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Instance Method Summary collapse
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base
4 5 6 |
# File 'lib/trange_frange/hundred.rb', line 4 def base @base end |
Instance Method Details
#word ⇒ Object
20 21 22 23 |
# File 'lib/trange_frange/hundred.rb', line 20 def word order_condition.add { HUNDREDS[object_base.member.hundred] } order_condition.match! end |