Sha256: 9e54660506c7df0348ce3f87b391a6c9d85cffecbf819b3346a089c07c3e14a4

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

# fspath

Better than Pathname

### 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-2011 Ivan Kuchin. See LICENSE.txt for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fspath-mac-2.0.0 README.markdown
fspath-mac-1.0.0 README.markdown