Sha256: 3dcc8e5b6834f595bd96cf0484d3522a8858c582e992af71e43a499697992c87
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
module Docman module Deployers class Deployer attr_reader :deploy_target def build(root, state, info) return if @deployed.include? info['name'] build_type = build_type(info['type']) Docman::Builders::Builder.create(build_type['handler'], root, build_type, state, info).do() @deployed << info['name'] end def initialize(deploy_target) @deployed = [] @deploy_target = deploy_target end def build_type(type) @deploy_target['builders'][type] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docman-0.0.3 | lib/docman/deployers/deployer.rb |