lib/clipboard/cygwin.rb in clipboard-1.3.2 vs lib/clipboard/cygwin.rb in clipboard-1.3.3
- old
+ new
@@ -3,14 +3,14 @@
module Clipboard
module Cygwin
extend self
def paste(_ = nil)
- File.read("/dev/clipboard")
+ ::File.read("/dev/clipboard")
end
def copy(data)
- File.open("/dev/clipboard", "w"){ |f| f.write(data) }
+ ::File.open("/dev/clipboard", "w"){ |f| f.write(data) }
paste
end
def clear
copy ''