Class: CLI::Mastermind::Loader::PlanfileLoader

Inherits:
CLI::Mastermind::Loader show all
Defined in:
lib/cli/mastermind/loader/planfile_loader.rb

Defined Under Namespace

Classes: DSL, InvalidPlanfileError

Class Method Summary collapse

Methods inherited from CLI::Mastermind::Loader

can_load?, find_loader, inherited, load_all, supported_extensions

Class Method Details

.load(filename) ⇒ Object



6
7
8
# File 'lib/cli/mastermind/loader/planfile_loader.rb', line 6

def self.load(filename)
  DSL.new(filename).plans
end