Module: ActionView::Helpers
- Defined in:
- lib/fat_free_crm/gem_ext/rails/text_helper.rb,
lib/country_select/lib/country_select.rb,
lib/dynamic_form/lib/action_view/helpers/dynamic_form.rb
Overview
:nodoc:
Defined Under Namespace
Modules: DynamicForm, FormOptionsHelper, TextHelper Classes: FormBuilder, InstanceTag
Instance Method Summary collapse
Instance Method Details
#country_name(code) ⇒ Object
525 526 527 528 |
# File 'lib/country_select/lib/country_select.rb', line 525 def country_name(code) return "" if code.blank? return COUNTRIES_HASH[code.to_sym] || code end |