ddd-ruby/contracts.ruby

View on GitHub
lib/contracts/decorators.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use uppercase heredoc delimiters.
Open

      ruby_eval
Severity: Minor
Found in lib/contracts/decorators.rb by rubocop

This cop checks that your heredocs are using the configured case. By default it is configured to enforce uppercase heredocs.

Example: EnforcedStyle: uppercase (default)

# bad
<<-sql
  SELECT * FROM foo
sql

# good
<<-SQL
  SELECT * FROM foo
SQL

Example: EnforcedStyle: lowercase

# bad
<<-SQL
  SELECT * FROM foo
SQL

# good
<<-sql
  SELECT * FROM foo
sql

There are no issues that match your filters.

Category
Status