Sha256: 1837f89c0402ee07ce8c9dcc54fd7535d2ca6d2d10fafad8791c2601c3c8f32e
Contents?: true
Size: 292 Bytes
Versions: 33
Compression:
Stored size: 292 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Integer #:nodoc: module Conversions #:nodoc: def set(value) value =~ /\d/ ? value.to_i : value end def get(value) value end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems