diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2013-04-04 16:46:06 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2013-04-04 16:46:06 -0500 |
commit | 2a16e159ab718374582183a857f5bcb6f1c78b0b (patch) | |
tree | 71957adfa7af7a99b70c6fb503ea2150b8a9f917 /actionpack/lib/action_view/helpers/tags/select.rb | |
parent | edeb98c2745cbf29725eca87332cefb4f273986a (diff) | |
download | rails-2a16e159ab718374582183a857f5bcb6f1c78b0b.tar.gz rails-2a16e159ab718374582183a857f5bcb6f1c78b0b.tar.bz2 rails-2a16e159ab718374582183a857f5bcb6f1c78b0b.zip |
mark ActionView::Helpers::Tags as :nodoc: [ci skip]
Diffstat (limited to 'actionpack/lib/action_view/helpers/tags/select.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/select.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/select.rb b/actionpack/lib/action_view/helpers/tags/select.rb index 53a108b7e6..d64e2f68ef 100644 --- a/actionpack/lib/action_view/helpers/tags/select.rb +++ b/actionpack/lib/action_view/helpers/tags/select.rb @@ -1,7 +1,7 @@ module ActionView module Helpers - module Tags - class Select < Base #:nodoc: + module Tags # :nodoc: + class Select < Base # :nodoc: def initialize(object_name, method_name, template_object, choices, options, html_options) @choices = choices @choices = @choices.to_a if @choices.is_a?(Range) @@ -31,7 +31,6 @@ module ActionView # # [nil, []] # { nil => [] } - # def grouped_choices? !@choices.empty? && @choices.first.respond_to?(:last) && Array === @choices.first.last end |