Sha256: c0df6695d0f43448530992545f1e75b2701b75948e71724855d0f3c8232447c2

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

#!/usr/bin/env ruby

# numeric.rb
# yesmar@speakeasy.net

require 'modules/ordinal'
require 'modules/roman'

class Numeric
  # Integer#to_ordinal
  # Integer#from_ordinal(ordinal)
  include Ordinal

  # Integer#to_roman
  # Integer#from_roman(roman)
  include Roman
end

raise RuntimeError, 'This library is for require only' if $0 == __FILE__

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rex-0.0.4 lib/rex/numeric.rb