Class: CopsDocumentationGenerator::CopData Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cops_documentation_generator.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def config
  @config
end

#copObject

Returns the value of attribute cop

Returns:

  • (Object)

    the current value of cop



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def cop
  @cop
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def description
  @description
end

#example_objectsObject

Returns the value of attribute example_objects

Returns:

  • (Object)

    the current value of example_objects



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def example_objects
  @example_objects
end

#safety_objectsObject

Returns the value of attribute safety_objects

Returns:

  • (Object)

    the current value of safety_objects



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def safety_objects
  @safety_objects
end

#see_objectsObject

Returns the value of attribute see_objects

Returns:

  • (Object)

    the current value of see_objects



10
11
12
# File 'lib/rubocop/cops_documentation_generator.rb', line 10

def see_objects
  @see_objects
end