Class: Results::Bad::And
- Inherits:
-
Struct
- Object
- Struct
- Results::Bad::And
- Defined in:
- lib/results.rb
Instance Attribute Summary collapse
-
#prev_bad ⇒ Object
Returns the value of attribute prev_bad.
Instance Method Summary collapse
Instance Attribute Details
#prev_bad ⇒ Object
Returns the value of attribute prev_bad
176 177 178 |
# File 'lib/results.rb', line 176 def prev_bad @prev_bad end |
Instance Method Details
#validate(*args, &blk) ⇒ Object
185 186 187 |
# File 'lib/results.rb', line 185 def validate(*args, &blk) accumulate(:validate, *args, &blk) end |
#when(*args, &blk) ⇒ Object
177 178 179 |
# File 'lib/results.rb', line 177 def when(*args, &blk) accumulate(:when, *args, &blk) end |
#when_not(*args, &blk) ⇒ Object
181 182 183 |
# File 'lib/results.rb', line 181 def when_not(*args, &blk) accumulate(:when_not, *args, &blk) end |