Module: LanguageSelectRails::TagHelper
- Included in:
- ActionView::Helpers::LanguageSelectRails, ActionView::Helpers::Tags::LanguageSelectRails
- Defined in:
- lib/language_select_rails/tag_helper.rb
Instance Method Summary collapse
Instance Method Details
#language_option_tags ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/language_select_rails/tag_helper.rb', line 5 def = { selected: @options.fetch(:selected) { value(@object) }, disabled: @options[:disabled] } (, ) end |