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

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

Overview

Loader implementation to handle the default .plan format

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



8
9
10
# File 'lib/cli/mastermind/loader/planfile_loader.rb', line 8

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