Top Level Namespace

Defined Under Namespace

Modules: CLD3

Instance Method Summary collapse

Instance Method Details

#ln_fallback(source, destination) ⇒ Object



19
20
21
22
23
24
25
26
27
# File 'ext/cld3/extconf.rb', line 19

def ln_fallback(source, destination)
  FileUtils.ln(source, destination)
rescue
  begin
    FileUtils.ln_s(source, destination)
  rescue
    FileUtils.cp(source, destination)
  end
end