Permalink
Browse files

README

  • Loading branch information...
1 parent c9a3066 commit cd54465ed69ecefade7e1ca25cb95a71b9f5ab2a @winton committed Jul 7, 2012
Showing with 7 additions and 9 deletions.
  1. +7 −9 README.md
View
@@ -32,8 +32,6 @@ Calling `@change.d?` does the following:
Dependencies
------------
-Sometimes you want to say "if this file changes, then these other files should change as well".
-
To group dependencies, `Change` uses the concept of a "session":
@change = Change.new("/absolute/path")
@@ -43,13 +41,13 @@ To group dependencies, `Change` uses the concept of a "session":
If you use `@change.d?` within a session, it will return true if any dependencies have changed. `Change` recalls the dependencies from the last session to achieve this.
- @change.s(:some_id)
- @change.d?('relative/path')
- # returns true if any dependencies have changed
- # dependencies are recalled from LAST :some_id session
+ @change.s(:some_id)
+ @change.d?('relative/path')
+ # returns true if any dependencies have changed
+ # dependencies are recalled from LAST :some_id session
Recall files that were modified during the last execution of this session:
- @change.s(:some_id) do
- @change.d_ # returns: { :add => [], :mod => [], :rem => [] }
- end
+ @change.s(:some_id) do
+ @change.d_ # returns: { :add => [], :mod => [], :rem => [] }
+ end

0 comments on commit cd54465

Please sign in to comment.