Class: ASRake::Mxmlc

Inherits:
BaseCompiler show all
Includes:
Rake::DSL
Defined in:
lib/asrake/mxmlc.rb

Instance Attribute Summary collapse

Attributes inherited from BaseExecutable

#output, #output_dir, #output_file

Instance Method Summary collapse

Methods inherited from BaseCompiler

#dynamically_link, #execute, #isAIR, #isAIR=, #statically_link, #statically_link_only_referenced_classes

Methods inherited from BaseExecutable

#execute, #merge_in, #output_is_dir?, #pathmap, #to_s, #to_str

Constructor Details

#initialize(swf_file) ⇒ Mxmlc

Returns a new instance of Mxmlc.



12
13
14
# File 'lib/asrake/mxmlc.rb', line 12

def initialize(swf_file)
	super(swf_file, FlexSDK::mxmlc)
end

Instance Attribute Details

#file_specsObject

Returns the value of attribute file_specs.



10
11
12
# File 'lib/asrake/mxmlc.rb', line 10

def file_specs
  @file_specs
end

Instance Method Details

#generate_argsObject



16
17
18
19
20
21
22
# File 'lib/asrake/mxmlc.rb', line 16

def generate_args
	mxmlc = super
	
	mxmlc << " -file-specs=#{file_specs}" if file_specs != nil

	return mxmlc
end