Class: Git::Lint::Configuration::Setting

Inherits:
Struct
  • Object
show all
Defined in:
lib/git/lint/configuration/setting.rb

Overview

Defines analyzer specific settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*arguments) ⇒ Setting

Returns a new instance of Setting.



18
19
20
21
# File 'lib/git/lint/configuration/setting.rb', line 18

def initialize *arguments
  super
  freeze
end

Instance Attribute Details

#delimiterObject

Returns the value of attribute delimiter

Returns:

  • (Object)

    the current value of delimiter



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def delimiter
  @delimiter
end

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def enabled
  @enabled
end

#excludesObject

Returns the value of attribute excludes

Returns:

  • (Object)

    the current value of excludes



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def excludes
  @excludes
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def id
  @id
end

#includesObject

Returns the value of attribute includes

Returns:

  • (Object)

    the current value of includes



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def includes
  @includes
end

#maximumObject

Returns the value of attribute maximum

Returns:

  • (Object)

    the current value of maximum



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def maximum
  @maximum
end

#minimumObject

Returns the value of attribute minimum

Returns:

  • (Object)

    the current value of minimum



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def minimum
  @minimum
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



7
8
9
# File 'lib/git/lint/configuration/setting.rb', line 7

def severity
  @severity
end