class ActionView::Helpers::Tags::CountrySelect

Public Class Methods

new(object_name, method_name, template_object, options, html_options) click to toggle source
Calls superclass method
# File lib/country_select/country_select_helper.rb, line 25
def initialize(object_name, method_name, template_object, options, html_options)
  @html_options = html_options

  super(object_name, method_name, template_object, options)
end

Public Instance Methods

render() click to toggle source
# File lib/country_select/country_select_helper.rb, line 31
def render
  select_content_tag(country_option_tags, @options, @html_options)
end