Top Level Namespace
Defined Under Namespace
Modules: HarvestWheelman
Instance Method Summary collapse
-
#pbcopy(str) ⇒ Object
Puts
str
into the pasteboard (Mac only).
Instance Method Details
#pbcopy(str) ⇒ Object
Puts str
into the pasteboard (Mac only)
7 8 9 10 |
# File 'lib/harvest_submit.rb', line 7 def pbcopy(str) return unless RUBY_PLATFORM =~ /darwin/ `echo "#{str}" | pbcopy` end |