Sha256: e57d12419268e4f86790a7becc386a7bff151b8ad9a2aad584fcf8c4dd33571a
Contents?: true
Size: 334 Bytes
Versions: 13
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true describe Object do describe 'yard' do describe '#is_any?' do context 'when none match' do it do object = [1, 2, 3] expect(object.is_any?(Hash, Class)).to eq(false) expect(object.is_any?(Hash, Array)).to eq(true) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems