method
to_s

to_s()
public
Hide source
# File railties/lib/rails/info.rb, line 28 def to_s column_width = properties.names.map {|name| name.length}.max info = properties.map do |name, value| value = value.join(", ") if value.is_a?(Array) "%-#{column_width}s %s" % [name, value] end info.unshift "About your application's environment" info * "\n" end