Sha256: edbfe4fbb82fd3a844d78edecba845205591ae8d8d2c80321c7966436ebe534a

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

# fspath

Better than Pathname

[![Build Status](https://travis-ci.org/toy/fspath-mac.png?branch=master)](https://travis-ci.org/toy/fspath-mac)

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fspath-mac-3.1.1 README.markdown
fspath-mac-3.1.0 README.markdown
fspath-mac-3.0.2 README.markdown