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
6 7 8 |
# File 'lib/numbers_and_words/core_ext/array.rb', line 6 def to_figures NumbersAndWords::FiguresArray.new self end |
#to_words ⇒ Object
2 3 4 |
# File 'lib/numbers_and_words/core_ext/array.rb', line 2 def to_words map &:to_words end |