Sha256: dda531fb5b1e3e801e6b78016dfb9e597d775ba34bc89fb4add187e663f6bf8d
Contents?: true
Size: 333 Bytes
Versions: 7
Compression:
Stored size: 333 Bytes
Contents
module ActiveMocker class MockRelation # @param [ActiveMocker::Base] mock, a generated mock class # @param [Array<ActiveMocker::Base>] collection, an array of mock instances # @return [ScopeRelation] for the given mock def self.new(mock, collection) mock.send(:__new_relation__, collection) end end end
Version data entries
7 entries across 7 versions & 1 rubygems