11 lines
148 B
Ruby
11 lines
148 B
Ruby
class PSpecValue < ApplicationRecord
|
|
has_many :p_product_ref_specs
|
|
|
|
UNITS = ["Go", "Mo"]
|
|
|
|
def member_label
|
|
"#{value} #{unit}"
|
|
end
|
|
|
|
end
|