summaryrefslogtreecommitdiffstats
path: root/lib/pp.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-31 04:57:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-01-31 04:57:54 +0000
commit86ccfe3d030e493a10adc4841190998b20d4ccff (patch)
tree4cc0f85f034b1fc132553a6a8ec010983f126288 /lib/pp.rb
parentdb17ce56bd96b8f31b26d565289a871621624331 (diff)
downloadruby-86ccfe3d030e493a10adc4841190998b20d4ccff.tar.gz
ruby-86ccfe3d030e493a10adc4841190998b20d4ccff.tar.xz
ruby-86ccfe3d030e493a10adc4841190998b20d4ccff.zip
refine previous change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index 82470ce90..24503b191 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -356,7 +356,7 @@ class File
pp.nest(1) {
pp.text "#<"
pp.text self.class.name
- pp.breakable; pp.text "dev="; pp.pp self.dev; pp.text ','
+ pp.breakable; pp.text sprintf("dev=0x%x", self.dev); pp.text ','
pp.breakable; pp.text "ino="; pp.pp self.ino; pp.text ','
pp.breakable
pp.group {