Skip to content

Commit

Permalink
Fixes tests specific to my fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
specialunderwear committed Sep 19, 2010
1 parent 906ef4a commit f4b9120
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Support/lib/fm/compiler.rb
Expand Up @@ -185,19 +185,19 @@ def initialize(settings)
@name = 'mxmlc'
@o = settings.flex_output
@file_specs = settings.file_specs
@flex_options = settings.flex_options
@flex_options = settings.respond_to?('flex_options') ? settings.flex_options : ""
end

def line
"#{name} -file-specs=#{e_sh file_specs} -o=#{e_sh o} #{flex_options}"
"#{name} -file-specs=#{e_sh file_specs} -o=#{e_sh o} #{flex_options}".strip()
end

def file_specs_name
File.basename(file_specs)
end

def to_s
"-file-specs=#{file_specs}\n-o=#{e_sh o} #{flex_options}"
"-file-specs=#{file_specs}\n-o=#{e_sh o} #{flex_options}".strip()
end

end
Expand Down

0 comments on commit f4b9120

Please sign in to comment.