diff options
Diffstat (limited to 'spec/ruby/core/file/stat/fixtures/classes.rb')
-rw-r--r-- | spec/ruby/core/file/stat/fixtures/classes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/core/file/stat/fixtures/classes.rb b/spec/ruby/core/file/stat/fixtures/classes.rb new file mode 100644 index 0000000000..4fe9a2a30f --- /dev/null +++ b/spec/ruby/core/file/stat/fixtures/classes.rb @@ -0,0 +1,5 @@ +class FileStat + def self.method_missing(meth, file) + File.lstat(file).send(meth) + end +end |