Module: CustomAttributes::StringValue

Defined in:
app/models/custom_attributes/string_value.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



11
12
13
# File 'app/models/custom_attributes/string_value.rb', line 11

def value
  self.string_value
end

#value=(newVal) ⇒ Object



3
4
5
6
7
8
9
# File 'app/models/custom_attributes/string_value.rb', line 3

def value=(newVal)
  if (newVal && newVal.present?)
    self.string_value = newVal
  else
    self.string_value = nil
  end
end