Sha256: 2c2a2d37a4ffcd54f406acfcdc55611e83bb5e2deb2dedf3bfc0601855373023

Contents?: true

Size: 296 Bytes

Versions: 18

Compression:

Stored size: 296 Bytes

Contents

class File
  class << self
    alias_method :old_symlink, :symlink
    def symlink(old_name, new_name)
      begin
        old_symlink(old_name, new_name)
      rescue Errno::EEXIST
        $stderr.puts "warning: symlinking #{old_name} -> #{new_name}. Already exists"
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 lib/core/file.rb
auser-poolparty-1.3.11 lib/core/file.rb
auser-poolparty-1.3.12 lib/core/file.rb
auser-poolparty-1.3.13 lib/core/file.rb
auser-poolparty-1.3.14 lib/core/file.rb
auser-poolparty-1.3.15 lib/core/file.rb
auser-poolparty-1.3.16 lib/core/file.rb
auser-poolparty-1.3.17 lib/core/file.rb
auser-poolparty-1.3.6 lib/core/file.rb
auser-poolparty-1.3.7 lib/core/file.rb
auser-poolparty-1.3.8 lib/core/file.rb
fairchild-poolparty-1.3.17 lib/core/file.rb
poolparty-1.3.15 lib/core/file.rb
poolparty-1.3.14 lib/core/file.rb
poolparty-1.3.13 lib/core/file.rb
poolparty-1.3.8 lib/core/file.rb
poolparty-1.3.7 lib/core/file.rb
poolparty-1.3.6 lib/core/file.rb