diff options
Diffstat (limited to 'lib/blink/statechange.rb')
-rw-r--r-- | lib/blink/statechange.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/blink/statechange.rb b/lib/blink/statechange.rb index 17aef41fe..e0b0a6794 100644 --- a/lib/blink/statechange.rb +++ b/lib/blink/statechange.rb @@ -21,13 +21,19 @@ module Blink #--------------------------------------------------------------- def forward - @type.change(@path,@is,@should) + Blink.notice "moving change forward" + if @state.noop + Blink.notice "change noop is %s" % @state.noop + else + @state.sync + end end #--------------------------------------------------------------- #--------------------------------------------------------------- def backward - @type.change(@path,@should,@is) + raise "Moving statechanges backward is currently unsupported" + #@type.change(@path,@should,@is) end #--------------------------------------------------------------- |