Class: Globalize::Translation::Attribute
- Inherits:
-
Globalize::Translation
- Object
- String
- Globalize::Translation
- Globalize::Translation::Attribute
- Defined in:
- lib/globalize/translation.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#requested_locale ⇒ Object
Returns the value of attribute requested_locale.
Method Summary
Methods inherited from Globalize::Translation
#fallback?, #initialize, #set_meta
Constructor Details
This class inherits a constructor from Globalize::Translation
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
7 8 9 |
# File 'lib/globalize/translation.rb', line 7 def key @key end |
#locale ⇒ Object
Returns the value of attribute locale.
7 8 9 |
# File 'lib/globalize/translation.rb', line 7 def locale @locale end |
#requested_locale ⇒ Object
Returns the value of attribute requested_locale.
7 8 9 |
# File 'lib/globalize/translation.rb', line 7 def requested_locale @requested_locale end |