brewster1134/cli_miami

View on GitHub
lib/cli_miami/metadata.rb

Summary

Maintainability
A
0 mins
Test Coverage

Freeze mutable objects assigned to constants.
Open

  SUMMARY = 'A colorful & feature-rich alternative to gets & puts for your command line app'
Severity: Minor
Found in lib/cli_miami/metadata.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

Freeze mutable objects assigned to constants.
Open

  VERSION = '2.0.1.pre'
Severity: Minor
Found in lib/cli_miami/metadata.rb by rubocop

This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).

Example:

# bad
CONST = [1, 2, 3]

# good
CONST = [1, 2, 3].freeze

There are no issues that match your filters.

Category
Status