Sha256: 26e102a32328debee9982b77174169989bce2bc99fc630173a403927699c8be7
Contents?: true
Size: 244 Bytes
Versions: 5
Compression:
Stored size: 244 Bytes
Contents
module Mongoid module Matchers module Helpers def to_sentence(ary) ary.collect(&:inspect).to_sentence end def class_of(subject) subject.is_a?(Class) ? subject : subject.class end end end end
Version data entries
5 entries across 5 versions & 1 rubygems