Class: Droonga::LiveNodesListLoader
- Inherits:
-
Object
- Object
- Droonga::LiveNodesListLoader
- Defined in:
- lib/droonga/live_nodes_list_loader.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ LiveNodesListLoader
constructor
A new instance of LiveNodesListLoader.
- #load ⇒ Object
Constructor Details
#initialize(path) ⇒ LiveNodesListLoader
Returns a new instance of LiveNodesListLoader.
21 22 23 |
# File 'lib/droonga/live_nodes_list_loader.rb', line 21 def initialize(path) @path = path end |
Instance Method Details
#load ⇒ Object
25 26 27 28 |
# File 'lib/droonga/live_nodes_list_loader.rb', line 25 def load list = parse list.keys end |