Sha256: 0da16e5baad9904dc1449991728e4c8026eedcd9a68968905f70b1ac79aa4b4f
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
module UnreadMongoid module Reader def self.assert_reader(obj) unless obj.kind_of?(UnreadMongoid::Reader) raise ArgumentError, "Class #{obj.class.name} is not registered by acts_as_reader!" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unread-mongoid-0.1.0 | lib/unread_mongoid/reader.rb |