class Conditions::BaseCondition
Abstract class from which all conditions inherit
Public Class Methods
new(predicate)
click to toggle source
@param [Any] predicate A predicate value which will be compared against input values
# File lib/conditions.rb, line 13 def initialize(predicate) @predicate = predicate end
Public Instance Methods
apply(_)
click to toggle source
# File lib/conditions.rb, line 17 def apply(_) true; end