class Phony::CountryCodes

Public Instance Methods

format_substitute(number, options = {}) click to toggle source

Strangely the Phony::CountryCodes.format method becomes private

# 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