Parent

Methods

Files

UbiquoI18n::Filters::LocaleFilter

Public Instance Methods

configure(options={}) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_i18n/lib/ubiquo_i18n/filters/locale_filter.rb, line 5
 5:       def configure(options={})
 6:         defaults = {
 7:           :field       => :filter_locale,
 8:           :collection  => Locale.active,
 9:           :id_field    => :iso_code,
10:           :name_field  => :native_name,
11:           :caption     => I18n.t('ubiquo.language')
12:         }
13:         @options = defaults.merge(options)
14:       end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.