Sha256: 5bb30d3d551315c95aa30123395c1b9789342c9aa36903c68e213e0e6463367f
Contents?: true
Size: 544 Bytes
Versions: 7
Compression:
Stored size: 544 Bytes
Contents
module ActiveMocker module TemplateMethods def self.included(base) base.extend(ClassMethods) end module ClassMethods def attributes HashWithIndifferentAccess.new({}) end def types HashProcess.new({}, method(:build_type)) end def associations {} end def associations_by_class {} end def mocked_class '' end def attribute_names [] end def primary_key '' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems