Sha256: 6ce16b86438302dd432a043f08cfe4d99c9dd0b767b5e63ae89441d542805e35
Contents?: true
Size: 280 Bytes
Versions: 83
Compression:
Stored size: 280 Bytes
Contents
# encoding: utf-8 # Numeric class Numeric # get dozen number # # ==== Examples # # 0,1,2 case # # 0.dozen # => return 0 # 1.dozen # => return 12 # 2.dozen # => return 24 # def dozen return 0 if self == 0 self * 12 end end
Version data entries
83 entries across 83 versions & 1 rubygems