Permalink
Browse files

Rename variable, better not use the same name as the method 💣 [ci skip]

  • Loading branch information...
1 parent 5f9dd60 commit 4d819311b5e51909e382dba692120475c6942166 @carlosantoniodasilva carlosantoniodasilva committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/simple_form/inputs/boolean_input.rb
@@ -54,8 +54,8 @@ def build_hidden_field_for_checkbox
end
def inline_label
- inline_label = options[:inline_label]
- inline_label == true ? label_text : inline_label
+ inline_option = options[:inline_label]
+ inline_option == true ? label_text : inline_option
end
# Booleans are not required by default because in most of the cases

0 comments on commit 4d81931

Please sign in to comment.