FSPath methods for mac
Ruby Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext/fspath/mac
lib/fspath
spec
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.markdown
fspath-mac.gemspec

README.markdown

fspath

Better than Pathname

Build Status

OS X stuff

Move to trash:

FSPath('a').move_to_trash

Get finder label (one of :none, :orange, :red, :yellow, :blue, :purple, :green and :gray):

FSPath('a').finder_label

Set finder label (:grey is same as :gray, nil or false as :none):

FSPath('a').finder_label = :red

Get spotlight comment:

FSPath('a').spotlight_comment

Set spotlight comment:

FSPath('a').spotlight_comment = 'a file'

Copyright

Copyright (c) 2010-2016 Ivan Kuchin. See LICENSE.txt for details.