Class: Translateable::AttributeValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/translateable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data



12
13
14
# File 'lib/translateable.rb', line 12

def data
  @data
end

#localeObject

Returns the value of attribute locale



12
13
14
# File 'lib/translateable.rb', line 12

def locale
  @locale
end

Instance Method Details

#_destroyObject



13
# File 'lib/translateable.rb', line 13

def _destroy; end

#persisted?Boolean



15
16
17
# File 'lib/translateable.rb', line 15

def persisted?
  false
end