Skip to content

Commit

Permalink
Grammar and spelling fixes in various places
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Shea committed Apr 7, 2008
1 parent f7c91ad commit 5a002c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.txt
Expand Up @@ -4,10 +4,10 @@ Pow

== Description:

You can manipulating files and directories in Ruby, but it's not fun -- it's missing POW!
You can manipulate files and directories in Ruby, but it's not fun -- it's missing POW!
Pow treats files and directories as ruby objects giving you more power and flexibility.

Why not use File, FileUtils, Find, FileTest, Pathname... Because Pow combines the power of those libraries into a one rubyish interface.
Why not use File, FileUtils, Find, FileTest, Pathname, ...? Because Pow combines the power of those libraries into one rubyish interface.

== Basic Usage

Expand Down
6 changes: 3 additions & 3 deletions spec/pow_spec.rb
Expand Up @@ -85,16 +85,16 @@
end
end

describe Pow::Base, "non-existing paths" do
describe Pow::Base, "nonexistent paths" do
setup do
@pow = Pow::Base.open("./blah/blah/blah/blah")
end

it "should know it doesn't exists" do
it "should know it doesn't exist" do
@pow.exists?.should be_false
end

it "can't be open" do
it "can't be opened" do
lambda {@pow.open}.should raise_error(PowError)
end
end
Expand Down
6 changes: 3 additions & 3 deletions website/index.txt
Expand Up @@ -3,7 +3,7 @@ h1. Pow → 'Path Manipulation'

h2. What

Pow encapsulate the functionality of several ruby libraries (FileUtils, Files, Pathname and Dir) by creating objects out path strings.
Pow encapsulates the functionality of several ruby libraries (FileUtils, Files, Pathname and Dir) by creating objects out path strings.

h2. Installing

Expand Down Expand Up @@ -59,7 +59,7 @@ path.each {|child| puts "#{child} - #{child.class.name}" }
/tmp/extra_dir - Pow::Directory
</pre>

Cool, but what if I just want the directories or just the files
Cool, but what if I just want the directories or just the files?

<pre syntax="ruby">
path.files.each {|file| "This is a file #{file}"}
Expand Down Expand Up @@ -163,7 +163,7 @@ What are the files in tmp
Is the empty dir empty? true
</pre>

Is the there a super cool, but ultimately pointless way to create a Pow object?"
Is there a super cool, but ultimately pointless way to create a Pow object?

<pre syntax="ruby">
path = Pow["."]/:tmp/:sub_dir/:another_dir/:deeper_still/"a.file"
Expand Down

0 comments on commit 5a002c0

Please sign in to comment.