class Spec::Mocks::DuckTypeArgConstraint
def description
def description "duck_type" end
def initialize(*methods_to_respond_to)
def initialize(*methods_to_respond_to) @methods_to_respond_to = methods_to_respond_to end
def matches?(value)
def matches?(value) @methods_to_respond_to.all? { |sym| value.respond_to?(sym) } end