Sha256: 0cdc2f24f3edcab96e6384347268eeeca2f4898d989d60fd37258de33aa6b26f
Contents?: true
Size: 402 Bytes
Versions: 5
Compression:
Stored size: 402 Bytes
Contents
module Kernel alias_method :_require, :require def require(name) name = name.to_path if name.respond_to?(:to_path) if name =~ /^rails\/commands\// load "#{name}.rb" else _require(name) end end alias_method :_exec, :exec def exec(*args) system(*args) end alias_method :_exit, :exit def exit(*args) irb_exit if caller.first =~ /irb_binding/ end end
Version data entries
5 entries across 5 versions & 1 rubygems