Class: Kanrisuru::Core::System::Uptime

Inherits:
Struct
  • Object
show all
Defined in:
lib/kanrisuru/core/system/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#boot_timeObject

Returns the value of attribute boot_time

Returns:

  • (Object)

    the current value of boot_time



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def boot_time
  @boot_time
end

#daysObject

Returns the value of attribute days

Returns:

  • (Object)

    the current value of days



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def days
  @days
end

#hoursObject

Returns the value of attribute hours

Returns:

  • (Object)

    the current value of hours



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def hours
  @hours
end

#minutesObject

Returns the value of attribute minutes

Returns:

  • (Object)

    the current value of minutes



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def minutes
  @minutes
end

#secondsObject

Returns the value of attribute seconds

Returns:

  • (Object)

    the current value of seconds



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def seconds
  @seconds
end

#uptimeObject

Returns the value of attribute uptime

Returns:

  • (Object)

    the current value of uptime



76
77
78
# File 'lib/kanrisuru/core/system/types.rb', line 76

def uptime
  @uptime
end