Class: ConsistencyFail::Reporters::ValidatesUniquenessOf
- Defined in:
- lib/consistency_fail/reporters/validates_uniqueness_of.rb
Constant Summary
Constants inherited from Base
Base::GREEN, Base::RED, Base::TERMINAL_WIDTH
Instance Attribute Summary collapse
-
#macro ⇒ Object
readonly
Returns the value of attribute macro.
Instance Method Summary collapse
-
#initialize ⇒ ValidatesUniquenessOf
constructor
A new instance of ValidatesUniquenessOf.
Methods inherited from Base
#column_1, #column_headers, #divider, #report, #report_failure_header, #report_index, #report_success, #use_color, #use_default_color
Constructor Details
#initialize ⇒ ValidatesUniquenessOf
Returns a new instance of ValidatesUniquenessOf.
8 9 10 |
# File 'lib/consistency_fail/reporters/validates_uniqueness_of.rb', line 8 def initialize @macro = :validates_uniqueness_of end |
Instance Attribute Details
#macro ⇒ Object (readonly)
Returns the value of attribute macro.
6 7 8 |
# File 'lib/consistency_fail/reporters/validates_uniqueness_of.rb', line 6 def macro @macro end |