Skip to content

doesterr/cmd_c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmd_c (OSX only)

Gem Version

Copy to your clipboard, just like cmd+c

This gem is mostly a playground for me. If you're looking for a more advanced gem, have a look at clipboard.

Installation

gem install cmd_c

Usage

Use the Kernel method cmd_c or it's alias cmdc to copy Strings to your clipboard.

require "cmd_c" # => true
    
cmd_c "foo" # => "foo"
# Your clipboard now holds foo
    
cmdc foo: "bar" # => "{:foo=>"bar"}"
# Your clipboard now holds {:foo=>"bar"}

Copyright

Copyright (c) 2013 David Österreicher. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages