Class: SmarterMeter::Daemon
- Inherits:
-
Object
- Object
- SmarterMeter::Daemon
- Defined in:
- lib/smartermeter/daemon.rb
Instance Method Summary collapse
-
#initialize(interface) ⇒ Daemon
constructor
A new instance of Daemon.
-
#start ⇒ Object
Loads the configuration, and starts.
Constructor Details
#initialize(interface) ⇒ Daemon
Returns a new instance of Daemon.
11 12 13 |
# File 'lib/smartermeter/daemon.rb', line 11 def initialize(interface) @ui = interface end |
Instance Method Details
#start ⇒ Object
Loads the configuration, and starts
Never returns.
18 19 20 21 |
# File 'lib/smartermeter/daemon.rb', line 18 def start configure run end |