Indent protected/private calls

This commit is contained in:
Carlos Antonio da Silva 2012-01-26 17:22:05 -02:00
parent 479306e846
commit 420d9bee7d
5 changed files with 5 additions and 5 deletions

View File

@ -121,7 +121,7 @@ module SimpleForm
fields_for(*(args << options), &block)
end
private
private
# Generate default options for collection helpers, such as :checked and
# :disabled.

View File

@ -9,7 +9,7 @@ module SimpleForm
object && object.respond_to?(:errors) && errors.present?
end
protected
protected
def error_text
"#{options[:error_prefix]} #{errors.send(error_method)}".lstrip

View File

@ -43,7 +43,7 @@ module SimpleForm
label_options
end
protected
protected
def raw_label_text #:nodoc:
options[:label] || label_translation

View File

@ -340,7 +340,7 @@ module SimpleForm
end
end
private
private
# Find an input based on the attribute name.
def find_input(attribute_name, options={}, &block) #:nodoc:

View File

@ -10,7 +10,7 @@ module SimpleForm
options[:priority] || SimpleForm.send(:"#{input_type}_priority")
end
protected
protected
def has_required?
false