Class: Duration::Locale

Inherits:
Struct
  • Object
show all
Defined in:
lib/duration/locale.rb

Instance Attribute Summary collapse

Instance Attribute Details

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



2
3
4
# File 'lib/duration/locale.rb', line 2

def format
  @format
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/duration/locale.rb', line 2

def name
  @name
end

#pluralsObject

Returns the value of attribute plurals

Returns:

  • (Object)

    the current value of plurals



2
3
4
# File 'lib/duration/locale.rb', line 2

def plurals
  @plurals
end

#singularsObject

Returns the value of attribute singulars

Returns:

  • (Object)

    the current value of singulars



2
3
4
# File 'lib/duration/locale.rb', line 2

def singulars
  @singulars
end