Class: Phony::CountryCodes

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-phony/phony-base.rb

Instance Method Summary collapse

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, options = {}
  format_cc_ndc_local options[:format], options[:spaces] || @default_space, *split(number)
end