Class: ActionView::Helpers::Tags::CollectionCheckBoxes::CheckBoxBuilder
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Builder
|
|
Instance Chain:
self,
Builder
|
|
Inherits: |
Builder
|
Defined in: | actionview/lib/action_view/helpers/tags/collection_check_boxes.rb |
Instance Method Summary
-
#check_box(extra_html_options = {})
Alias for #checkbox.
- #checkbox(extra_html_options = {}) (also: #check_box)
Instance Method Details
#check_box(extra_html_options = {})
Alias for #checkbox.
# File 'actionview/lib/action_view/helpers/tags/collection_check_boxes.rb', line 19
alias_method :check_box, :checkbox
#checkbox(extra_html_options = {}) Also known as: #check_box
[ GitHub ]# File 'actionview/lib/action_view/helpers/tags/collection_check_boxes.rb', line 13
def checkbox( = {}) = .merge(@input_html_options) [:multiple] = true [:skip_default_ids] = false @template_object.checkbox(@object_name, @method_name, , @value, nil) end