Sha256: fb67bf4c0e0f5143e9d4add7de200961372d235d659f1ab8ad5983a998e60bf4
Contents?: true
Size: 242 Bytes
Versions: 5
Compression:
Stored size: 242 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