class FlexMock::OptionalProcMatcher

Match objects that implement all the methods in methods.

Public Class Methods

new() click to toggle source
# File lib/flexmock/argument_matchers.rb, line 87
def initialize
end

Public Instance Methods

===(target) click to toggle source
# File lib/flexmock/argument_matchers.rb, line 89
def ===(target)
  ArgumentMatching.missing?(target) || Proc === target
end
inspect() click to toggle source
# File lib/flexmock/argument_matchers.rb, line 92
def inspect
  "optional_proc"
end