lib/editor_js/blocks/table_block.rb
Do not use parentheses for method calls with no arguments. Open
Open
end.join().html_safe
- Read upRead up
- Exclude checks
This cop checks for unwanted parentheses in parameterless method calls.
Example:
# bad
object.some_method()
# good
object.some_method
Do not use parentheses for method calls with no arguments. Open
Open
row.map { |col| content_tag :td, col.html_safe }.join().html_safe
- Read upRead up
- Exclude checks
This cop checks for unwanted parentheses in parameterless method calls.
Example:
# bad
object.some_method()
# good
object.some_method
Line is too long. [81/80] Open
Open
row.map { |col| content_tag :td, col.html_safe }.join().html_safe
- Exclude checks