mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* pp.rb (ARGF.pretty_print): implemented.
(PP.pp): arguments reordered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfb1775244
commit
c47f24027a
5 changed files with 36 additions and 17 deletions
|
@ -507,7 +507,7 @@ class Context
|
|||
end
|
||||
|
||||
when /^\s*pp\s+/
|
||||
PP.pp(debug_eval($', binding), 79, stdout)
|
||||
PP.pp(debug_eval($', binding), stdout)
|
||||
|
||||
when /^\s*p\s+/
|
||||
stdout.printf "%s\n", debug_eval($', binding).inspect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue