class RxRuby::ReactiveTest::OnErrorPredicate
Public Class Methods
new(&action)
click to toggle source
# File lib/rx_ruby/testing/reactive_test.rb, line 83 def initialize(&action) @action = action end
Public Instance Methods
==(other)
click to toggle source
# File lib/rx_ruby/testing/reactive_test.rb, line 87 def ==(other) other && other.on_error? && @action.call(other.error) end
Also aliased as: eql?