Class: RFunk::Failure
Instance Method Summary collapse
Methods inherited from Value
Constructor Details
This class inherits a constructor from RFunk::Value
Instance Method Details
#failure? ⇒ Boolean
7 8 9 |
# File 'lib/rfunk/failure.rb', line 7 def failure? true end |
#or(value) ⇒ Object
11 12 13 |
# File 'lib/rfunk/failure.rb', line 11 def or(value) Failure(value) end |
#success? ⇒ Boolean
3 4 5 |
# File 'lib/rfunk/failure.rb', line 3 def success? false end |