Skip to content

Commit

Permalink
File tryout
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Aug 19, 2010
1 parent 41af607 commit ba9eb3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions try/15_file_tryouts.rb
@@ -0,0 +1,12 @@
require 'rye'


## knows dirs exist
lbox = Rye::Box.new
lbox.file_exists? '/etc'
#=> true

## knows files exist
lbox = Rye::Box.new 'localhost'
lbox.file_exists? '/etc/host'
#=> true

0 comments on commit ba9eb3e

Please sign in to comment.