Sha256: d3a8105eb18c58e6ddbdb06b28bca05d37daed0362ced48ff19d563638d706ea
Contents?: true
Size: 349 Bytes
Versions: 4
Compression:
Stored size: 349 Bytes
Contents
class Kubes::Compiler::Strategy class Base include Kubes::Logging def initialize(options={}) @options = options @path = options[:path] @filename = @path.sub(%r{.*\.kubes/resources/},'') # IE: web/deployment.rb or web/deployment.yaml @save_file = @filename.sub('.yml','.yaml').sub('.rb','.yaml') end end end
Version data entries
4 entries across 4 versions & 1 rubygems