Method: NumbersAndWords::Strategies::FiguresConverter::Languages::Families::Base#capacity_iteration
- Defined in:
- lib/numbers_and_words/strategies/figures_converter/languages/families/base.rb
#capacity_iteration ⇒ Object
32 33 34 35 36 37 |
# File 'lib/numbers_and_words/strategies/figures_converter/languages/families/base.rb', line 32 def capacity_iteration words = [] capacity_words = words_in_capacity(@current_capacity) words.push(megs) unless capacity_words.empty? words + capacity_words end |