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



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

def config
  @config
end

#copObject

Returns the value of attribute cop

Returns:

  • (Object)

    the current value of cop



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

def cop
  @cop
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



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

def description
  @description
end

#example_objectsObject

Returns the value of attribute example_objects

Returns:

  • (Object)

    the current value of example_objects



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

def example_objects
  @example_objects
end

#safety_objectsObject

Returns the value of attribute safety_objects

Returns:

  • (Object)

    the current value of safety_objects



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

def safety_objects
  @safety_objects
end

#see_objectsObject

Returns the value of attribute see_objects

Returns:

  • (Object)

    the current value of see_objects



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

def see_objects
  @see_objects
end