Class: R18n::Typed
- Inherits:
-
Struct
- Object
- Struct
- R18n::Typed
- Defined in:
- lib/r18n-core/translation.rb
Overview
Struct to containt translation with some type for filter.
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#path ⇒ Object
Returns the value of attribute path.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale
25 26 27 |
# File 'lib/r18n-core/translation.rb', line 25 def locale @locale end |
#path ⇒ Object
Returns the value of attribute path
25 26 27 |
# File 'lib/r18n-core/translation.rb', line 25 def path @path end |
#type ⇒ Object
Returns the value of attribute type
25 26 27 |
# File 'lib/r18n-core/translation.rb', line 25 def type @type end |
#value ⇒ Object
Returns the value of attribute value
25 26 27 |
# File 'lib/r18n-core/translation.rb', line 25 def value @value end |