Class: Plumb::Result::Invalid
Instance Attribute Summary
#errors, #value
Instance Method Summary
collapse
#initialize, #inspect, invalid, #invalid, #reset, valid, #valid, wrap
Constructor Details
This class inherits a constructor from Plumb::Result
Instance Method Details
#invalid? ⇒ Boolean
57
|
# File 'lib/plumb/result.rb', line 57
def invalid? = true
|
#map(_) ⇒ Object
59
60
61
|
# File 'lib/plumb/result.rb', line 59
def map(_)
self
end
|
#valid? ⇒ Boolean
56
|
# File 'lib/plumb/result.rb', line 56
def valid? = false
|