Class: Kanrisuru::Core::System::Uptime
- Inherits:
-
Struct
- Object
- Struct
- Kanrisuru::Core::System::Uptime
- Defined in:
- lib/kanrisuru/core/system/types.rb
Instance Attribute Summary collapse
-
#boot_time ⇒ Object
Returns the value of attribute boot_time.
-
#days ⇒ Object
Returns the value of attribute days.
-
#hours ⇒ Object
Returns the value of attribute hours.
-
#minutes ⇒ Object
Returns the value of attribute minutes.
-
#seconds ⇒ Object
Returns the value of attribute seconds.
-
#uptime ⇒ Object
Returns the value of attribute uptime.
Instance Attribute Details
#boot_time ⇒ Object
Returns the value of attribute boot_time
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def boot_time @boot_time end |
#days ⇒ Object
Returns the value of attribute days
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def days @days end |
#hours ⇒ Object
Returns the value of attribute hours
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def hours @hours end |
#minutes ⇒ Object
Returns the value of attribute minutes
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def minutes @minutes end |
#seconds ⇒ Object
Returns the value of attribute seconds
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def seconds @seconds end |
#uptime ⇒ Object
Returns the value of attribute uptime
76 77 78 |
# File 'lib/kanrisuru/core/system/types.rb', line 76 def uptime @uptime end |