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



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

def column
  @column
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



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

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



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

def line
  @line
end

#snippetObject

Returns the value of attribute snippet

Returns:

  • (Object)

    the current value of snippet



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

def snippet
  @snippet
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

def value
  @value
end