Commit 4c541c6a authored by Peter Leitzen's avatar Peter Leitzen

Define empty state in policy runner

This avoid the warning:
    warning: instance variable @state not initialized
parent 1c1b83ca
...@@ -33,6 +33,7 @@ module DeclarativePolicy ...@@ -33,6 +33,7 @@ module DeclarativePolicy
attr_reader :steps attr_reader :steps
def initialize(steps) def initialize(steps)
@steps = steps @steps = steps
@state = nil
end end
# We make sure only to run any given Runner once, # We make sure only to run any given Runner once,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment