Top Level Namespace

Defined Under Namespace

Modules: HarvestWheelman Classes: Date

Instance Method Summary collapse

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.strip}" | pbcopy`
end