# File lib/juicer/binary.rb, line 49 def options(*excludes) excludes = excludes.flatten.collect { |exc| exc.to_sym } @options.inject("") do |str, opt| if opt[1].nil? || excludes.include?(opt[0].to_sym) str else val = opt[1] == true ? '' : opt[1] option = opt[0].to_s option = (option.length == 1 ? "-" : "--") + option.gsub('_', '-') "#{str} #{option} #{val}".strip end end end