Sha256: 8424971a020c869cf7506ac0db7181876534dbd8f7ac4c5b2ae52ec7ac3b5803
Contents?: true
Size: 482 Bytes
Versions: 218
Compression:
Stored size: 482 Bytes
Contents
module RSpec module Matchers module BuiltIn # @api private # Provides the implementation for `be_an_instance_of`. # Not intended to be instantiated directly. class BeAnInstanceOf < BaseMatcher # @api private # @return [String] def description "be an instance of #{expected}" end private def match(expected, actual) actual.instance_of? expected end end end end end
Version data entries
218 entries across 197 versions & 61 rubygems