Module Observable::Match
In: lib/observable.rb

Classes and Modules

Module Observable::Match::BOOLEAN
Class Observable::Match::MatchProc

Constants

BOOLEAN = Object.new   Some constants, classes, and functions for matching
EQUAL = proc { |value| MatchProc.new { |test_value| test_value == value }
NOT_EQUAL = proc { |value| MatchProc.new { |test_value| test_value != value }
NOT_MATCH = proc { |value| MatchProc.new { |test_value| !(value === test_value) }
CHANGES = Object # simpler!   CHANGES = MatchProc.new {true}
EXISTS = MatchProc.new {|v| v}

[Validate]