Module: RangedLotCategoriesHelper

Defined in:
app/helpers/ranged_lot_categories_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ranged_lot_category_tag(ranged_lot_category)



3
4
5
6
# File 'app/helpers/ranged_lot_categories_helper.rb', line 3

def ranged_lot_category_tag(ranged_lot_category)
  return nil if ranged_lot_category.nil?
  ranged_lot_category.name + ": " + [ranged_lot_category.minimum_value, ranged_lot_category.maximum_value].compact.join("-") 
end