Class: Globalize::Translation::Attribute

Inherits:
Globalize::Translation show all
Defined in:
lib/globalize/translation.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Globalize::Translation

#fallback?, #initialize, #set_meta

Constructor Details

This class inherits a constructor from Globalize::Translation

Instance Attribute Details

#keyObject

Returns the value of attribute key.



7
8
9
# File 'lib/globalize/translation.rb', line 7

def key
  @key
end

#localeObject

Returns the value of attribute locale.



7
8
9
# File 'lib/globalize/translation.rb', line 7

def locale
  @locale
end

#requested_localeObject

Returns the value of attribute requested_locale.



7
8
9
# File 'lib/globalize/translation.rb', line 7

def requested_locale
  @requested_locale
end