lib/state_manager/resource.rb in state_manager-0.2.13 vs lib/state_manager/resource.rb in state_manager-0.3.0
- old
+ new
@@ -64,10 +64,10 @@
Helpers::Methods.define_methods(klass.specification, self, property) if options[:helpers]
end
module InstanceMethods
def initialize(*args)
- super(*args)
+ super
self.state_managers ||= {}
end
# Ensures that all properties with state managers are in valid states
def validate_states!
\ No newline at end of file