mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-io/file.rb (inspect): include path in the #inspect output
This commit is contained in:
@@ -26,6 +26,10 @@ class File < IO
|
||||
t && Time.at(t)
|
||||
end
|
||||
|
||||
def inspect
|
||||
"<#{self.class}:#{@path}>"
|
||||
end
|
||||
|
||||
def self.join(*names)
|
||||
return "" if names.empty?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user