feat: add **opts to make inheritance a bit easier
This commit is contained in:
parent
fefa1859c4
commit
6d39ae339f
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ module Comfpile
|
||||||
# Meta-States exist:
|
# Meta-States exist:
|
||||||
# - in_progress/completed: Anything but/Only succeeded, skipped, failed
|
# - in_progress/completed: Anything but/Only succeeded, skipped, failed
|
||||||
|
|
||||||
def initialize(core, engine, stage, target)
|
def initialize(core, engine, stage, target, **opts)
|
||||||
|
raise ArgumentError, "Unknown options supplied!" unless opts.empty?
|
||||||
|
|
||||||
@core = core
|
@core = core
|
||||||
@engine = engine
|
@engine = engine
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue