Module: Urls::API

Included in:
Urls
Defined in:
lib/urls.rb

Instance Method Summary collapse

Instance Method Details

#copy(urls) ⇒ Object

copy url(s) to clipboard, default uses osx



51
52
53
# File 'lib/urls.rb', line 51

def copy(urls)
  system(%[echo "#{urls.join("\n")}" | pbcopy])
end