Class: Sharekit::Cli::Scanner::Rule

Inherits:
Data
  • Object
show all
Defined in:
lib/sharekit/cli/scanner.rb

Instance Attribute Summary collapse

Instance Attribute Details

#context_beforeObject (readonly)

Returns the value of attribute context_before

Returns:

  • (Object)

    the current value of context_before



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def context_before
  @context_before
end

#leading_ellipsisObject (readonly)

Returns the value of attribute leading_ellipsis

Returns:

  • (Object)

    the current value of leading_ellipsis



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def leading_ellipsis
  @leading_ellipsis
end

#max_lenObject (readonly)

Returns the value of attribute max_len

Returns:

  • (Object)

    the current value of max_len



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def max_len
  @max_len
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def name
  @name
end

#patternObject (readonly)

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def pattern
  @pattern
end

#severityObject (readonly)

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



11
12
13
# File 'lib/sharekit/cli/scanner.rb', line 11

def severity
  @severity
end