Class: Stellwerk::Violation

Inherits:
Struct
  • Object
show all
Defined in:
lib/stellwerk/violation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#referenceObject

Returns the value of attribute reference

Returns:

  • (Object)

    the current value of reference



2
3
4
# File 'lib/stellwerk/violation.rb', line 2

def reference
  @reference
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



2
3
4
# File 'lib/stellwerk/violation.rb', line 2

def rule
  @rule
end