Module: Kernel
- Defined in:
- lib/rggen/core/core_extensions/kernel.rb
Class Method Summary collapse
Class Method Details
.__orignal_Integer ⇒ Object
4 |
# File 'lib/rggen/core/core_extensions/kernel.rb', line 4 alias_method :__orignal_Integer, :Integer |
.Integer(arg, base = 0, exception: true) ⇒ Object
6 7 8 9 |
# File 'lib/rggen/core/core_extensions/kernel.rb', line 6 def Integer(arg, base = 0, exception: true) arg = arg.__getobj__ if arg.is_a?(::Delegator) __orignal_Integer(arg, base, exception: exception) end |