Class: Phony::CountryCodes
- Inherits:
-
Object
- Object
- Phony::CountryCodes
- Defined in:
- lib/motion-phony/phony-base.rb
Instance Method Summary collapse
-
#format_substitute(number, options = {}) ⇒ Object
Strangely the Phony::CountryCodes.format method becomes private.
Instance Method Details
#format_substitute(number, options = {}) ⇒ Object
Strangely the Phony::CountryCodes.format method becomes private
10 11 12 |
# File 'lib/motion-phony/phony-base.rb', line 10 def format_substitute number, = {} format_cc_ndc_local [:format], [:spaces] || @default_space, *split(number) end |