diff options
author | Luke Kanies <luke@madstop.com> | 2005-04-21 18:51:13 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-04-21 18:51:13 +0000 |
commit | 9843da69eb90ba5029e3726e7c886bbcfe410cc9 (patch) | |
tree | 604aa100a636812520b53c9c6ff73a997cd71821 /lib/blink/statechange.rb | |
parent | d0c6b0c23516fda12dd1a3d2f5a8e53b614100f0 (diff) | |
download | puppet-9843da69eb90ba5029e3726e7c886bbcfe410cc9.tar.gz puppet-9843da69eb90ba5029e3726e7c886bbcfe410cc9.tar.xz puppet-9843da69eb90ba5029e3726e7c886bbcfe410cc9.zip |
cleaning up object tree and adding a simple virtual base class for both types and states
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@206 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/blink/statechange.rb')
-rw-r--r-- | lib/blink/statechange.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/blink/statechange.rb b/lib/blink/statechange.rb index 10f53be9d..eac0398f0 100644 --- a/lib/blink/statechange.rb +++ b/lib/blink/statechange.rb @@ -8,10 +8,11 @@ module Blink class StateChange - attr_accessor :is, :should, :type, :path + attr_accessor :is, :should, :type, :path, :state #--------------------------------------------------------------- def initialize(state) + @state = state @path = state.fqpath @is = state.is @should = state.should |