Class: ParsePackwerk::Violation
- Inherits:
-
T::Struct
- Object
- T::Struct
- ParsePackwerk::Violation
- Extended by:
- T::Sig
- Defined in:
- lib/parse_packwerk/violation.rb
Instance Method Summary collapse
Instance Method Details
#dependency? ⇒ Boolean
13 14 15 |
# File 'lib/parse_packwerk/violation.rb', line 13 def dependency? type == 'dependency' end |
#privacy? ⇒ Boolean
18 19 20 |
# File 'lib/parse_packwerk/violation.rb', line 18 def privacy? type == 'privacy' end |