Class: Controls::Trend

Inherits:
Dish::Plate
  • Object
show all
Defined in:
lib/controls/objects/trend.rb

Overview

A object to represent the

Instance Method Summary collapse

Instance Method Details

#to_sString

Returns the grade of the trend.

Returns:

  • (String)

    the grade of the trend



7
8
9
# File 'lib/controls/objects/trend.rb', line 7

def to_s
  format('%05.2f', grade)
end