module Kernel

  def Bignum(arg)
    Integer(arg)
  end

  def Fixnum(arg)
    Integer(arg)
  end

  def NilClass(arg)
    nil
  end

end

module Kernel

  def Bignum(arg, base=0)
    Integer(arg, base)
  end

  def Fixnum(arg, base=0)
    Integer(arg, base)
  end

  def NilClass(arg)
    nil
  end

end

Revert "Fix Ruby 1.8 incompatibility"
Revert "Fix Ruby 1.8 incompatibility"

This reverts commit 07e1de1303a2db2f64109e48919820d398ca6fad.
