Class: ExpirationDate::ExpirationLabel

Inherits:
Struct
  • Object
show all
Defined in:
lib/expiration-date.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ageObject

Returns the value of attribute age

Returns:

  • (Object)

    the current value of age



8
9
10
# File 'lib/expiration-date.rb', line 8

def age
  @age
end

#expires_onObject

Returns the value of attribute expires_on

Returns:

  • (Object)

    the current value of expires_on



8
9
10
# File 'lib/expiration-date.rb', line 8

def expires_on
  @expires_on
end

#mutexObject

Returns the value of attribute mutex

Returns:

  • (Object)

    the current value of mutex



8
9
10
# File 'lib/expiration-date.rb', line 8

def mutex
  @mutex
end