summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-30 01:31:00 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-30 01:31:00 +0000
commit23c1fccf83d7e28a0b798fd50baca5ec9a249516 ()
tree83c496340abb2827e0b5d92261c9afa14c2adc75
parent87bcbf9ef53de9db889ce51de057f26f55afe7d3 (diff)
prelude.rb: Add Kernel#pp, a trigger for lib/pp.rb
[Feature #14123] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS1
-rw-r--r--lib/pp.rb1
-rw-r--r--prelude.rb10
3 files changed, 12 insertions, 0 deletions
@@ -76,6 +76,7 @@ with all sufficient information, see the ChangeLog file or Redmine
* Kernel
* Kernel#yield_self [Feature #6721]
* Module
* Module#attr, attr_accessor, attr_reader, attr_writer are now public [#14132]
@@ -17,6 +17,7 @@ module Kernel
# prints arguments in pretty form.
#
# pp returns argument(s).
def pp(*objs)
objs.each {|obj|
PP.pp(obj)
@@ -141,3 +141,13 @@ class Binding
irb
end
end