summaryrefslogtreecommitdiff
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
commit097c41755d32601d0c1fb4e956d81d9acefe802c (patch)
tree4cc0f85f034b1fc132553a6a8ec010983f126288 /lib/pp.rb
parentcaa76f71fb8e5d260ee29cfb8c8458a2be909713 (diff)
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 82470ce909..24503b1919 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 {