lib/rio/ops/symlink.rb in rio-0.5.1 vs lib/rio/ops/symlink.rb in rio-0.6.0

- old
+ new

@@ -1,8 +1,8 @@ #-- # =========================================================================== -# Copyright (c) 2005-2012 Christopher Kleckner +# Copyright (c) 2005-2017 Christopher Kleckner # All rights reserved # # This file is part of the Rio library for ruby. # # Rio is free software; you can redistribute it and/or modify @@ -20,18 +20,9 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # =========================================================================== #++ # - -# module RIO -# module Impl -# module U -# def self.readlink(s,*args) ::File.readlink(s,*args) end -# def self.lstat(s,*args) ::File.lstat(s,*args) end -# end -# end -# end module RIO module Ops module Symlink module ExistOrNot def readlink(*args) new_rio(fs.readlink(self.to_s,*args)) end