lib/boom/platform.rb in boom-0.1.1 vs lib/boom/platform.rb in boom-0.1.2

- old
+ new

@@ -43,10 +43,10 @@ # # Returns a String explaining what was done def copy(item) copy_command = darwin? ? "pbcopy" : "xclip -selection clipboard" - `echo '#{item.value.gsub("\'","\\'")}' | tr -d "\n" | #{copy_command}` + Kernel.system("echo '#{item.value.gsub("\'","\\'")}' | tr -d \"\n\" | #{copy_command}") "Boom! We just copied #{item.value} to your clipboard." end end end