class FiveStar::Configuration

Default configuration of rating values and weighting.

@api private

Constants

DEFAULT_WEIGHTING

Public Instance Methods

max_rating() click to toggle source
# File lib/five-star/configuration.rb, line 9
def max_rating; 10.0; end
max_weighting() click to toggle source
# File lib/five-star/configuration.rb, line 12
def max_weighting; 1.0; end
min_rating() click to toggle source
# File lib/five-star/configuration.rb, line 8
def min_rating; 0.0; end
min_weighting() click to toggle source
# File lib/five-star/configuration.rb, line 11
def min_weighting; 0.0; end