Sha256: e22cca08dfe6ba6b19e3da0c3741ccdf65783a31d0f5e6919022fa602afa8d3b

Contents?: true

Size: 421 Bytes

Versions: 7

Compression:

Stored size: 421 Bytes

Contents

module Dev
module Cmd
class Setup < Array

  def refresh(dep_hash)
    puts_debug "Dev::Cmd::Setup.get_auto_setup_directives"
	strip_auto_entries
	# auto generate setup entry based on dep values
    dep_hash.each{ |k,v|
	  if !v.nil? && v.kind_of?(Hash)
        dep=Dev::Dep.new(v)
        dep.setup_commands.each{|cmd| self << cmd}
	  end
	}
  end

end # class Setup
end # module Cmd
end # module Dev

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dev-1.0.153 lib/dev/cmd/Setup.rb
dev-1.0.152 lib/dev/cmd/Setup.rb
dev-1.0.151 lib/dev/cmd/Setup.rb
dev-1.0.150 lib/dev/cmd/Setup.rb
dev-1.0.149 lib/dev/cmd/Setup.rb
dev-1.0.148 lib/dev/cmd/Setup.rb
dev-1.0.147 lib/dev/cmd/Setup.rb