class ChinaRegionFu::SimpleForm::RegionInput
Public Instance Methods
collection()
click to toggle source
# File lib/china_region_fu/helpers/simple_form.rb, line 11 def collection @collection ||= options.delete(:collection) || [] end
input_html_options()
click to toggle source
Calls superclass method
# File lib/china_region_fu/helpers/simple_form.rb, line 7 def input_html_options append_html_options(attribute_name, sub_region, super) end
Private Instance Methods
sub_region()
click to toggle source
# File lib/china_region_fu/helpers/simple_form.rb, line 17 def sub_region @sub_region ||= input_options.delete(:sub_region) end