Module: Kernel

Defined in:
lib/t/core_ext/kernel.rb

Instance Method Summary collapse

Instance Method Details

#Bignum(arg, base = 0) ⇒ Object

rubocop:disable Naming/MethodName



2
3
4
# File 'lib/t/core_ext/kernel.rb', line 2

def Bignum(arg, base = 0) # rubocop:disable Naming/MethodName
  Integer(arg, base)
end

#Fixnum(arg, base = 0) ⇒ Object

rubocop:disable Naming/MethodName



6
7
8
# File 'lib/t/core_ext/kernel.rb', line 6

def Fixnum(arg, base = 0) # rubocop:disable Naming/MethodName
  Integer(arg, base)
end

#NilClass(_) ⇒ Object

rubocop:disable Naming/MethodName



10
11
12
# File 'lib/t/core_ext/kernel.rb', line 10

def NilClass(_) # rubocop:disable Naming/MethodName
  nil
end