Class: Ivy::Configure

Inherits:
Target
  • Object
show all
Defined in:
lib/ivy/configure.rb

Direct Known Subclasses

Settings

Instance Attribute Summary

Attributes inherited from Target

#params

Instance Method Summary collapse

Methods inherited from Target

#execute, #initialize

Constructor Details

This class inherits a constructor from Ivy::Target

Instance Method Details

#parameterObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ivy/configure.rb', line 5

def parameter
  [
    Parameter.new(:id, false),
    Parameter.new(:file, false),
    Parameter.new(:url, false),
    Parameter.new(:host, false),
    Parameter.new(:realm,false),
    Parameter.new(:username, false),
    Parameter.new(:passwd, false)
  ]
end

#result_property_valuesObject



17
18
19
20
21
22
# File 'lib/ivy/configure.rb', line 17

def result_property_values
  property = params[:id] || 'ivy.instance'
  [
    ResultValue.new(/.*\.#{property}/, nil)
  ]
end