mod/bootstrap/lib/card/bootstrap/tag_method.rb
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize component, name, html_class, tag_opts={}, &tag_block
- Create a ticketCreate a ticket
Use snake_case for method names. Open
Open
def wrapInner tag=nil, &block
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop makes sure that all methods use the configured style, snake_case or camelCase, for their names.
Example: EnforcedStyle: snake_case (default)
# bad
def fooBar; end
# good
def foo_bar; end
Example: EnforcedStyle: camelCase
# bad
def foo_bar; end
# good
def fooBar; end