class Tryouts::Tryout
def initialize(name, dtype, command=nil, *args)
def initialize(name, dtype, command=nil, *args) raise "Must supply command for dtype :cli" if dtype == :cli && command.nil? raise "#{dtype} is not a valid drill type" if !Drill.valid_dtype?(dtype) @name, @dtype, @command = name, dtype, command @drills, @dream_catcher, @locals = [], [], {} @passed, @failed, @skipped = 0, 0, 0 @drill_context = DrillContext.new end