# File lib/rhc/output_helper.rb, line 81 def display_scaling_info(app,cart) # Save these values for easier reuse values = [:current_scale,:scales_from,:scales_to,:scales_with] # Get the scaling properties we care about properties = get_properties(cart,*values) # Format the string for applications properties = "Scaled x%d (minimum: %s, maximum: %s) with %s on %s gears" % [properties.values_at(*values), app.gear_profile].flatten say_table \ "Scaling Info", properties end