Sha256: b955777afeb415b8890ea33a64fa293b426dd66c4b52b6d1fec36e44c27b81c9
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
module SimpleDeploy module CLI def self.attributes attrs = [] read_attributes.each do |attribs| a = attribs.split('=') attrs << { a.first => a.last } end attrs end def self.read_attributes @opts[:attributes].nil? ? [] : @opts[:attributes].split(',') end def self.environment_provided? @opts[:environment].nil? != true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simple_deploy-0.1.0 | lib/simple_deploy/cli/variables.rb |
simple_deploy-0.0.3 | lib/simple_deploy/cli/variables.rb |
simple_deploy-0.0.2 | lib/simple_deploy/cli/variables.rb |