Class: Violated::Violation
- Inherits:
-
Struct
- Object
- Struct
- Violated::Violation
- Defined in:
- lib/violated/violation.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field
2 3 4 |
# File 'lib/violated/violation.rb', line 2 def field @field end |
#reason ⇒ Object
Returns the value of attribute reason
2 3 4 |
# File 'lib/violated/violation.rb', line 2 def reason @reason end |