Class: Translateable::AttributeValue

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

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



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

def data
  @data
end

#localeObject

Returns the value of attribute locale

Returns:

  • (Object)

    the current value of locale



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

def locale
  @locale
end