Class: Moult::Boundaries::Packwerk::Violation
- Inherits:
-
Struct
- Object
- Struct
- Moult::Boundaries::Packwerk::Violation
- Defined in:
- lib/moult/boundaries/packwerk.rb
Overview
A single recorded boundary violation: one referencing file crossing into one constant owned by another package, of one type. Path is root-relative.
Instance Attribute Summary collapse
-
#constant ⇒ Object
Returns the value of attribute constant.
-
#defining_package ⇒ Object
Returns the value of attribute defining_package.
-
#path ⇒ Object
Returns the value of attribute path.
-
#referencing_package ⇒ Object
Returns the value of attribute referencing_package.
-
#violation_type ⇒ Object
Returns the value of attribute violation_type.
Instance Attribute Details
#constant ⇒ Object
Returns the value of attribute constant
43 44 45 |
# File 'lib/moult/boundaries/packwerk.rb', line 43 def constant @constant end |
#defining_package ⇒ Object
Returns the value of attribute defining_package
43 44 45 |
# File 'lib/moult/boundaries/packwerk.rb', line 43 def defining_package @defining_package end |
#path ⇒ Object
Returns the value of attribute path
43 44 45 |
# File 'lib/moult/boundaries/packwerk.rb', line 43 def path @path end |
#referencing_package ⇒ Object
Returns the value of attribute referencing_package
43 44 45 |
# File 'lib/moult/boundaries/packwerk.rb', line 43 def referencing_package @referencing_package end |
#violation_type ⇒ Object
Returns the value of attribute violation_type
43 44 45 |
# File 'lib/moult/boundaries/packwerk.rb', line 43 def violation_type @violation_type end |