• X
    if singletons belong to the contract, test them · 0400a7ff
    Xavier Noria 提交于
    Object#respond_to? returns singletons and thus we inherit that contract.
    The implementation of the predicate is good, but the test is only
    checking boolean semantics, which in this case is not enough.
    0400a7ff
attribute_methods.rb 13.5 KB