Class: RuboCop::Formatter::HTMLFormatter::CSSContext

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/formatter/html_formatter.rb

Overview

This class provides helper methods used in the ERB CSS template.

Constant Summary collapse

SEVERITY_COLORS =
{
  refactor:   Color.new(0xED, 0x9C, 0x28, 1.0),
  convention: Color.new(0xED, 0x9C, 0x28, 1.0),
  warning:    Color.new(0x96, 0x28, 0xEF, 1.0),
  error:      Color.new(0xD2, 0x32, 0x2D, 1.0),
  fatal:      Color.new(0xD2, 0x32, 0x2D, 1.0)
}.freeze

Instance Method Summary collapse

Instance Method Details

#bindingObject

Make Kernel#binding public. rubocop:disable Lint/UselessMethodDefinition



148
149
150
# File 'lib/rubocop/formatter/html_formatter.rb', line 148

def binding
  super
end