class RuboCop::Cop::MessageAnnotator
def initialize(config, cop_config, options)
(**options)
-
:display_cop_names
(Boolean
) -- -
:debug
(Boolean
) -- -
:extra_details
(Boolean
) -- -
:display_style_guide
(Boolean
) -- -
:Details
(String
) -- -
:Reference
(String
) -- Full reference URL -
:StyleGuide
(String
) -- Extension of base styleguide URL
Parameters:
-
options
(Hash, nil
) -- optional -
cop_config
(Hash
) -- configs for specific cop, from config#for_cop -
config
(RuboCop::Config
) -- Check configs for all cops
Other tags:
- Note: - Message Annotator specifically checks the
def initialize(config, cop_config, options) @config = config @cop_config = cop_config || {} @options = options end