Object
Match only things where the block evaluates to true.
# File lib/flexmock/argument_matchers.rb, line 73 73: def initialize(methods) 74: @methods = methods 75: end
# File lib/flexmock/argument_matchers.rb, line 76 76: def ===(target) 77: @methods.all? { |m| target.respond_to?(m) } 78: end
# File lib/flexmock/argument_matchers.rb, line 79 79: def inspect 80: "ducktype(#{@methods.map{|m| m.inspect}.join(',')})" 81: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.