Class: Bulletproof::Violation

Inherits:
Data
  • Object
show all
Defined in:
lib/bulletproof/report.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



4
5
6
# File 'lib/bulletproof/report.rb', line 4

def file
  @file
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



4
5
6
# File 'lib/bulletproof/report.rb', line 4

def line
  @line
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



4
5
6
# File 'lib/bulletproof/report.rb', line 4

def message
  @message
end

#severityObject (readonly)

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



4
5
6
# File 'lib/bulletproof/report.rb', line 4

def severity
  @severity
end