Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/numbers_and_words/core_ext/array.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_figures ⇒ Object
8 9 10 |
# File 'lib/numbers_and_words/core_ext/array.rb', line 8 def to_figures NumbersAndWords::FiguresArray.new self end |
#to_words(options = {}) ⇒ Object
4 5 6 |
# File 'lib/numbers_and_words/core_ext/array.rb', line 4 def to_words( = {}) map { |element| element.to_words } end |