Class: Fear::PartialFunction::Any Private
- Inherits:
-
Object
- Object
- Fear::PartialFunction::Any
- Defined in:
- lib/fear/partial_function/any.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Any is an object which is always truthy
Class Method Summary collapse
- .==(_other) ⇒ true private
- .===(_other) ⇒ true private
- .to_proc ⇒ Proc private
Class Method Details
.==(_other) ⇒ true
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/fear/partial_function/any.rb', line 15 def ==(_other) true end |
.===(_other) ⇒ true
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 |
# File 'lib/fear/partial_function/any.rb', line 9 def ===(_other) true end |
.to_proc ⇒ Proc
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
20 21 22 |
# File 'lib/fear/partial_function/any.rb', line 20 def to_proc proc { true } end |