Class: ConsistencyFail::Reporters::ValidatesUniquenessOf

Inherits:
Base
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from Base

#column_1, #column_headers, #divider, #report, #report_failure_header, #report_index, #report_success, #use_color, #use_default_color

Constructor Details

#initializeValidatesUniquenessOf

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

#macroObject (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