Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Mar 6, 2011
1 parent 06ebbd9 commit 9c03711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ can easily define your own matchers:

def initialize(except)
@except = except
@caputres = Match.new([])
@captures = Match.new([])
end

def match(str)
@caputres unless @except === str
@captures unless @except === str
end
end

Expand Down
4 changes: 2 additions & 2 deletions README.zh.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ Rack body对象或者HTTP状态码:

def initialize(except)
@except = except
@caputres = Match.new([])
@captures = Match.new([])
end

def match(str)
@caputres unless @except === str
@captures unless @except === str
end
end

Expand Down

0 comments on commit 9c03711

Please sign in to comment.