Class: Guardrails::Icons::Violation

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

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



8
9
10
# File 'lib/guardrails/icons.rb', line 8

def column
  @column
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



8
9
10
# File 'lib/guardrails/icons.rb', line 8

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



8
9
10
# File 'lib/guardrails/icons.rb', line 8

def line
  @line
end

#snippetObject

Returns the value of attribute snippet

Returns:

  • (Object)

    the current value of snippet



8
9
10
# File 'lib/guardrails/icons.rb', line 8

def snippet
  @snippet
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/guardrails/icons.rb', line 8

def type
  @type
end