Class: Predicator::Predicates::True
- Inherits:
-
Object
- Object
- Predicator::Predicates::True
- Defined in:
- lib/predicator/predicates/true.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
8 9 10 |
# File 'lib/predicator/predicates/true.rb', line 8 def == other other.kind_of?(self.class) end |
#satisfied?(context = Predicator::Context.new) ⇒ Boolean
4 5 6 |
# File 'lib/predicator/predicates/true.rb', line 4 def satisfied? context=Predicator::Context.new true end |