Class: IronHammer::Utils::IvyConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/iron_hammer/utils/ivy_configuration.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ivy_jarObject

Returns the value of attribute ivy_jar.



6
7
8
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 6

def ivy_jar
  @ivy_jar
end

#ivy_settingsObject

Returns the value of attribute ivy_settings.



7
8
9
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 7

def ivy_settings
  @ivy_settings
end

#organisationObject

Returns the value of attribute organisation.



5
6
7
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 5

def organisation
  @organisation
end

#retrieve_versionObject

Returns the value of attribute retrieve_version.



8
9
10
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 8

def retrieve_version
  @retrieve_version
end

Class Method Details

.builder_for(project) ⇒ Object



10
11
12
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 10

def self.builder_for project
  IvyBuilder.new :config => instance, :project => project
end

.instanceObject



14
15
16
# File 'lib/iron_hammer/utils/ivy_configuration.rb', line 14

def self.instance
  @@instance ||= IvyConfiguration.new
end