Class: SimpleForm::Inputs::LanguageInput

Inherits:
PriorityInput
  • Object
show all
Defined in:
lib/simple_form_language_input.rb

Instance Method Summary collapse

Instance Method Details

#input_priorityObject



16
17
18
19
20
21
22
# File 'lib/simple_form_language_input.rb', line 16

def input_priority
  input_priority = super
  if input_priority.respond_to? :call
    input_priority = input_priority.call
  end
  input_priority
end

#input_typeObject



13
14
15
# File 'lib/simple_form_language_input.rb', line 13

def input_type
  :language
end