Sha256: db8a8846f2f0554fab9dafb34eb56875b30b1d1118af19ab5d7be224269efc84
Contents?: true
Size: 400 Bytes
Versions: 3
Compression:
Stored size: 400 Bytes
Contents
require File.dirname(__FILE__) + '/../../inflector' unless defined? Inflector module ActiveSupport #:nodoc: module CoreExtensions #:nodoc: module Integer #:nodoc: module Inflections # 1.ordinalize # => "1st" # 3.ordinalize # => "3rd" # 10.ordinalize # => "10th" def ordinalize Inflector.ordinalize(self) end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems