QuickLook
A very simplistic ruby wrapper around QuickLook for OS X.
Installation
Add this line to your application's Gemfile:
gem 'quick_look'
And then execute:
$ bundle
Or install it yourself as:
$ gem install quick_look
Usage
path = "/some/path/to/a/file.jpg"
QuickLook.open(path)
QuickLook.close(path)
Contributing
- Fork it ( https://github.com/[my-github-username]/quick_look/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request