Class: Ivy::Cachepath
Instance Attribute Summary
Attributes inherited from Target
Instance Method Summary collapse
Methods inherited from Target
Constructor Details
This class inherits a constructor from Ivy::Target
Instance Method Details
#create_return_values ⇒ Object
19 20 21 22 23 |
# File 'lib/ivy/cachepath.rb', line 19 def create_return_values path = ant_references.find { |current| current[0] == params[:pathid] }[1] raise "Could not get path for confs: #{params.inspect}" unless path && path.respond_to?(:list) path.list.map {|a| a.to_s } end |
#parameter ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ivy/cachepath.rb', line 5 def parameter [ Parameter.new(:pathid, true), Parameter.new(:conf, false), Parameter.new(:inline, false), Parameter.new(:organisation, false), Parameter.new(:module, false), Parameter.new(:revision, false), Parameter.new(:branch, false), Parameter.new(:type, false), Parameter.new(:settingsRef, false), ] end |