about summary refs log tree commit homepage
path: root/lib/kgio.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kgio.rb')
-rw-r--r--lib/kgio.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/kgio.rb b/lib/kgio.rb
index 5de431b..bc86116 100644
--- a/lib/kgio.rb
+++ b/lib/kgio.rb
@@ -36,3 +36,8 @@ class Kgio::Pipe < IO
     alias new pipe
   end
 end
+
+class Kgio::File < File # :nodoc:
+  attr_reader :path # cf. set_file_path
+  alias to_path path
+end