Class: Nullalign::Reporters::ValidatesPresenceOf
- Defined in:
- lib/nullalign/reporters/validates_presence_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 ⇒ ValidatesPresenceOf
constructor
A new instance of ValidatesPresenceOf.
Methods inherited from Base
#column_1, #column_headers, #divider, #report, #report_failure_header, #report_success, #use_color, #use_default_color
Constructor Details
#initialize ⇒ ValidatesPresenceOf
Returns a new instance of ValidatesPresenceOf.
8 9 10 |
# File 'lib/nullalign/reporters/validates_presence_of.rb', line 8 def initialize @macro = :validates_presence_of end |
Instance Attribute Details
#macro ⇒ Object (readonly)
Returns the value of attribute macro.
6 7 8 |
# File 'lib/nullalign/reporters/validates_presence_of.rb', line 6 def macro @macro end |