Class: Text

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/text.rb

Instance Method Summary collapse

Instance Method Details

#entity_valueObject



3
4
5
# File 'app/models/text.rb', line 3

def entity_value
  self.value
end

#entity_value=(value) ⇒ Object



7
8
9
10
# File 'app/models/text.rb', line 7

def entity_value=(value)
  self.value = value
  self.save
end