Class: Guardrails::CrossCodebasePatterns::Pattern
- Inherits:
-
Struct
- Object
- Struct
- Guardrails::CrossCodebasePatterns::Pattern
- Defined in:
- lib/guardrails/cross_codebase_patterns.rb
Instance Attribute Summary collapse
-
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
-
#occurrences ⇒ Object
Returns the value of attribute occurrences.
-
#shape ⇒ Object
Returns the value of attribute shape.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
Instance Attribute Details
#fingerprint ⇒ Object
Returns the value of attribute fingerprint
21 22 23 |
# File 'lib/guardrails/cross_codebase_patterns.rb', line 21 def fingerprint @fingerprint end |
#occurrences ⇒ Object
Returns the value of attribute occurrences
21 22 23 |
# File 'lib/guardrails/cross_codebase_patterns.rb', line 21 def occurrences @occurrences end |
#shape ⇒ Object
Returns the value of attribute shape
21 22 23 |
# File 'lib/guardrails/cross_codebase_patterns.rb', line 21 def shape @shape end |
#size ⇒ Object
Returns the value of attribute size
21 22 23 |
# File 'lib/guardrails/cross_codebase_patterns.rb', line 21 def size @size end |
Instance Method Details
#count ⇒ Object
22 23 24 |
# File 'lib/guardrails/cross_codebase_patterns.rb', line 22 def count occurrences.length end |