Class: Mongoid::Verbalize::TranslatedString::LocalizedVersion

Inherits:
Struct
  • Object
show all
Defined in:
lib/mongoid/verbalize/translated_string.rb

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



31
32
33
# File 'lib/mongoid/verbalize/translated_string.rb', line 31

def value
  @value
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



31
32
33
# File 'lib/mongoid/verbalize/translated_string.rb', line 31

def version
  @version
end