Class: DopCommon::PreProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/dop_common/pre_processor.rb

Constant Summary collapse

REGEXP =
/(?:^| )include: (\S+)/

Class Method Summary collapse

Class Method Details

.load_plan(file) ⇒ Object



13
14
15
16
# File 'lib/dop_common/pre_processor.rb', line 13

def self.load_plan(file)
  file_abs = Pathname.new(file).expand_path.to_s
  parse_file(file_abs, []).join
end