Class: RaceGuard::IndexIntegrity::UniquenessValidation
- Inherits:
-
Struct
- Object
- Struct
- RaceGuard::IndexIntegrity::UniquenessValidation
- Defined in:
- lib/race_guard/index_integrity/model_scanner.rb
Overview
Static scan for ActiveRecord-style validates macros with uniqueness (Epic 5.1).
Load explicitly for non-Rails use; in Rails apps race_guard:index_integrity loads this.
require "race_guard/index_integrity/model_scanner"
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Attribute Details
#fields ⇒ Object
Returns the value of attribute fields
12 13 14 |
# File 'lib/race_guard/index_integrity/model_scanner.rb', line 12 def fields @fields end |
#filename ⇒ Object
Returns the value of attribute filename
12 13 14 |
# File 'lib/race_guard/index_integrity/model_scanner.rb', line 12 def filename @filename end |
#scope ⇒ Object
Returns the value of attribute scope
12 13 14 |
# File 'lib/race_guard/index_integrity/model_scanner.rb', line 12 def scope @scope end |