feat: add **opts to make inheritance a bit easier

This commit is contained in:
David Bailey 2023-04-14 10:25:22 +02:00
parent fefa1859c4
commit 6d39ae339f

View file

@ -47,7 +47,9 @@ module Comfpile
# Meta-States exist:
# - 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
@engine = engine