Class: Duration::Locale
- Inherits:
-
Struct
- Object
- Struct
- Duration::Locale
- Defined in:
- lib/duration/locale.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#name ⇒ Object
Returns the value of attribute name.
-
#plurals ⇒ Object
Returns the value of attribute plurals.
-
#singulars ⇒ Object
Returns the value of attribute singulars.
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format
2 3 4 |
# File 'lib/duration/locale.rb', line 2 def format @format end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/duration/locale.rb', line 2 def name @name end |
#plurals ⇒ Object
Returns the value of attribute plurals
2 3 4 |
# File 'lib/duration/locale.rb', line 2 def plurals @plurals end |
#singulars ⇒ Object
Returns the value of attribute singulars
2 3 4 |
# File 'lib/duration/locale.rb', line 2 def singulars @singulars end |