Module: VoiceForm::InstanceMethods
- Defined in:
- lib/voice_form/form_methods.rb
Instance Method Summary collapse
Instance Method Details
#as_digits(string) ⇒ Object
42 43 44 |
# File 'lib/voice_form/form_methods.rb', line 42 def as_digits(string) string.scan(/\d/).map {|v| v.to_i } end |