Class: Guardrails::Audit::Violation

Inherits:
Struct
  • Object
show all
Defined in:
lib/guardrails/audit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def column
  @column
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def line
  @line
end

#snippetObject

Returns the value of attribute snippet

Returns:

  • (Object)

    the current value of snippet



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def snippet
  @snippet
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



11
12
13
# File 'lib/guardrails/audit.rb', line 11

def value
  @value
end