Skip to content

Commit 5875c39

Browse files
committed
Learn Ruby
1 parent 9c79279 commit 5875c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootstrap_form/form_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class FormBuilder < ActionView::Helpers::FormBuilder # rubocop:disable Metrics/C
77

88
class << self
99
def redefine_rich_text_area?
10-
ActionView::Helpers::FormBuilder.instance_methods.any?("rich_text_area")
10+
ActionView::Helpers::FormBuilder.instance_methods.any? { _1 == :rich_text_area }
1111
end
1212
end
1313

0 commit comments

Comments
 (0)