Sha256: 2011b1b16698d87a71004bad0f37cafb96607515fe5aded943135af84b71fc21

Contents?: true

Size: 256 Bytes

Versions: 46

Compression:

Stored size: 256 Bytes

Contents

module Mongoid #:nodoc:
  module Extensions #:nodoc:
    module Symbol #:nodoc:
      module Inflections #:nodoc:
        def singular?
          to_s.singular?
        end
        def plural?
          to_s.plural?
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
mongoid-0.8.10 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.9 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.8 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.7 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.6 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.5 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.4 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.3 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.2 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.8.1 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.10 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.9 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.8 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.7 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.6 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.5 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.4 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.3 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.2 lib/mongoid/extensions/symbol/inflections.rb
mongoid-0.7.1 lib/mongoid/extensions/symbol/inflections.rb