# File lib/aws/resource.rb, line 298 def translate_output_value value # by default nil values are not translated return nil if value.nil? and @translates_nil != true case when @options[:to_sym] then value.tr('-','_').downcase.to_sym when @output_translator then @output_translator.call(value) else value end end