Class: Buildr::AS3::Toolkits::ApparatToolkit

Inherits:
ZipToolkiteBase show all
Defined in:
lib/buildr/as3/toolkits/apparat.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ZipToolkiteBase

#from

Constructor Details

#initialize(version) ⇒ ApparatToolkit



30
31
32
33
34
35
36
# File 'lib/buildr/as3/toolkits/apparat.rb', line 30

def initialize(version)
  @version = version
  @spec = "com.googlecode:apparat-bin:zip:#{@version}"
  @zip = Buildr.artifact(@spec)
  @zip_destination = File.join(File.dirname(@zip.to_s), "apparat-#{@version}", "apparat-#{@version}")
  generate_paths @zip_destination, @version
end

Instance Attribute Details

#asm_swcObject (readonly)

Returns the value of attribute asm_swc



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def asm_swc
  @asm_swc
end

#asmifierObject (readonly)

Returns the value of attribute asmifier



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def asmifier
  @asmifier
end

#concreteObject (readonly)

Returns the value of attribute concrete



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def concrete
  @concrete
end

#coverageObject (readonly)

Returns the value of attribute coverage



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def coverage
  @coverage
end

#dumpObject (readonly)

Returns the value of attribute dump



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def dump
  @dump
end

#ersatz_swcObject (readonly)

Returns the value of attribute ersatz_swc



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def ersatz_swc
  @ersatz_swc
end

#homeObject (readonly)

Returns the value of attribute home



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def home
  @home
end

#jitbObject (readonly)

Returns the value of attribute jitb



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def jitb
  @jitb
end

#lzma_decoder_swcObject (readonly)

Returns the value of attribute lzma_decoder_swc



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def lzma_decoder_swc
  @lzma_decoder_swc
end

#reducerObject (readonly)

Returns the value of attribute reducer



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def reducer
  @reducer
end

#scala_homeObject (readonly)

Returns the value of attribute scala_home



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def scala_home
  @scala_home
end

#stripperObject (readonly)

Returns the value of attribute stripper



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def stripper
  @stripper
end

#tdsiObject (readonly)

Returns the value of attribute tdsi



26
27
28
# File 'lib/buildr/as3/toolkits/apparat.rb', line 26

def tdsi
  @tdsi
end

Instance Method Details

#invokeObject

:nodoc:



38
39
40
41
42
# File 'lib/buildr/as3/toolkits/apparat.rb', line 38

def invoke #:nodoc:
  @url ||= generate_url_from_version @version
  super
  self
end