method
country_code
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::NumberHelper::NumberToPhoneConverter
country_code(code)private
No documentation available.
# File activesupport/lib/active_support/number_helper/number_to_phone_converter.rb, line 45
def country_code(code)
code.blank? ? "" : "+#{code}#{delimiter}"
end