Sha256: 31a2f269b85e1f07367e5a25784288c8da25526d7d1acd582ca3265c9b0a609e
Contents?: true
Size: 674 Bytes
Versions: 7
Compression:
Stored size: 674 Bytes
Contents
require "predrags_dummy_pipelines/version" require "predrags_dummy_pipelines/exec" require "predrags_dummy_pipelines/pipeline" require "psych" module PredragsDummyPipelines # Your code goes here... def self.new(yaml) actions = parse(yaml) Pipeline.new(actions) end def self.build Exec.new(parse_["build"]) end def self.parse_ parse_file("project/simple.yml") end def self.parse_file(file) project = Psych.load_file(file) end def self.parse(actions) Psych.load(actions) end def self.test a = PredragsDummyPipelines.parse_ pip = PredragsDummyPipelines::Pipeline.new a pip.run pip.show pip end end
Version data entries
7 entries across 7 versions & 1 rubygems