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 86 def initialize end
Public Instance Methods
===(target)
click to toggle source
# File lib/flexmock/argument_matchers.rb, line 88 def ===(target) ArgumentMatching.missing?(target) || Proc === target end
inspect()
click to toggle source
# File lib/flexmock/argument_matchers.rb, line 91 def inspect "optional_proc" end