Class: Msnav::WindowRegistry::WindowReg
- Inherits:
-
Struct
- Object
- Struct
- Msnav::WindowRegistry::WindowReg
- Defined in:
- lib/msnav/windows.rb
Instance Attribute Summary collapse
-
#authority ⇒ Object
Returns the value of attribute authority.
-
#host_roots ⇒ Object
Returns the value of attribute host_roots.
-
#last_poll ⇒ Object
Returns the value of attribute last_poll.
-
#path_mappings ⇒ Object
Returns the value of attribute path_mappings.
-
#roots ⇒ Object
Returns the value of attribute roots.
-
#seq ⇒ Object
Returns the value of attribute seq.
-
#window_id ⇒ Object
Returns the value of attribute window_id.
Instance Method Summary collapse
Instance Attribute Details
#authority ⇒ Object
Returns the value of attribute authority
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def @authority end |
#host_roots ⇒ Object
Returns the value of attribute host_roots
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def host_roots @host_roots end |
#last_poll ⇒ Object
Returns the value of attribute last_poll
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def last_poll @last_poll end |
#path_mappings ⇒ Object
Returns the value of attribute path_mappings
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def path_mappings @path_mappings end |
#roots ⇒ Object
Returns the value of attribute roots
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def roots @roots end |
#seq ⇒ Object
Returns the value of attribute seq
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def seq @seq end |
#window_id ⇒ Object
Returns the value of attribute window_id
27 28 29 |
# File 'lib/msnav/windows.rb', line 27 def window_id @window_id end |
Instance Method Details
#alive?(now) ⇒ Boolean
29 30 31 |
# File 'lib/msnav/windows.rb', line 29 def alive?(now) (now - last_poll) <= ALIVE_SECONDS end |