# File lib/rhc/output_helpers.rb, line 244 def display_env_var_list(env_vars, opts={}) if env_vars.present? if opts[:table] say table(env_vars.collect{ |item| [item.name, opts[:quotes] ? "\"#{item.value}\"" : item.value] }, :header => ['Name', 'Value']) else env_vars.sort.each do |env_var| default_display_env_var(env_var.name, opts[:quotes] ? "\"#{env_var.value}\"" : env_var.value) end end end end