Class: PunchTime::TimeRecord::Scale

Inherits:
Struct
  • Object
show all
Defined in:
lib/punch_time/time_record.rb

Instance Attribute Summary collapse

Instance Attribute Details

#daysObject

Returns the value of attribute days

Returns:

  • (Object)

    the current value of days



25
26
27
# File 'lib/punch_time/time_record.rb', line 25

def days
  @days
end

#hoursObject

Returns the value of attribute hours

Returns:

  • (Object)

    the current value of hours



25
26
27
# File 'lib/punch_time/time_record.rb', line 25

def hours
  @hours
end

#minutesObject

Returns the value of attribute minutes

Returns:

  • (Object)

    the current value of minutes



25
26
27
# File 'lib/punch_time/time_record.rb', line 25

def minutes
  @minutes
end

#rationalObject

Returns the value of attribute rational

Returns:

  • (Object)

    the current value of rational



25
26
27
# File 'lib/punch_time/time_record.rb', line 25

def rational
  @rational
end

#secondsObject

Returns the value of attribute seconds

Returns:

  • (Object)

    the current value of seconds



25
26
27
# File 'lib/punch_time/time_record.rb', line 25

def seconds
  @seconds
end