Class: Opstat::Plugins::Facts
- Inherits:
-
Task
- Object
- Task
- Opstat::Plugins::Facts
- Defined in:
- lib/plugins/facts.rb
Instance Method Summary collapse
-
#initialize(name, queue, config) ⇒ Facts
constructor
A new instance of Facts.
-
#parse ⇒ Object
TODO in memory module io.close.
Constructor Details
#initialize(name, queue, config) ⇒ Facts
Returns a new instance of Facts.
18 19 20 21 |
# File 'lib/plugins/facts.rb', line 18 def initialize (name, queue, config) super(name, queue, config) self end |
Instance Method Details
#parse ⇒ Object
TODO in memory module io.close
24 25 26 27 |
# File 'lib/plugins/facts.rb', line 24 def parse @count_number += 1 return ::Facter.to_hash end |