lib/build-tool/build-system/qmake.rb in build-tool-0.3.3 vs lib/build-tool/build-system/qmake.rb in build-tool-0.4.0

- old
+ new

@@ -32,29 +32,10 @@ # ### METHODS # - def[]( var ) - if @options.has_key? var - return @options[var] - end - - # case var - - - # else - # *TODO* raise correct exception - raise NotImplementedError - - # end - end - - def[]=( var, val ) - @options[var] = val - end - # Configure the module def reconfigure() configure end @@ -95,10 +76,11 @@ do_make( target ) end def option_string arr = [] - @options.each do |var, val| + option_names.each do |var| + val = self[var] arr << "#{var}='#{val}'" end arr.join(" ") end