mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Has been deprecated since 2069c9e031fc968d6d3d0fe30a9316851e4d91d8. [Feature #17125][ruby-core:99636]
23 lines
279 B
Ruby
23 lines
279 B
Ruby
class Binding
|
|
# :nodoc:
|
|
def irb
|
|
require 'irb'
|
|
irb
|
|
end
|
|
|
|
# suppress redefinition warning
|
|
alias irb irb # :nodoc:
|
|
end
|
|
|
|
module Kernel
|
|
def pp(*objs)
|
|
require 'pp'
|
|
pp(*objs)
|
|
end
|
|
|
|
# suppress redefinition warning
|
|
alias pp pp # :nodoc:
|
|
|
|
private :pp
|
|
end
|