Class: RuboCop::Schema::CopInfo

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

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



3
4
5
# File 'lib/rubocop/schema/value_objects.rb', line 3

def attributes
  @attributes
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



3
4
5
# File 'lib/rubocop/schema/value_objects.rb', line 3

def description
  @description
end

#enabled_by_defaultObject

Returns the value of attribute enabled_by_default

Returns:

  • (Object)

    the current value of enabled_by_default



3
4
5
# File 'lib/rubocop/schema/value_objects.rb', line 3

def enabled_by_default
  @enabled_by_default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/rubocop/schema/value_objects.rb', line 3

def name
  @name
end

#supports_autocorrectObject

Returns the value of attribute supports_autocorrect

Returns:

  • (Object)

    the current value of supports_autocorrect



3
4
5
# File 'lib/rubocop/schema/value_objects.rb', line 3

def supports_autocorrect
  @supports_autocorrect
end