Class: Ring::SQA::Nodes
- Inherits:
-
Object
- Object
- Ring::SQA::Nodes
- Defined in:
- lib/ring/sqa/nodes.rb
Constant Summary collapse
- FILE =
'/etc/hosts'
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
Instance Method Summary collapse
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
10 11 12 |
# File 'lib/ring/sqa/nodes.rb', line 10 def all @all end |
Instance Method Details
#get(node) ⇒ Object
16 17 18 |
# File 'lib/ring/sqa/nodes.rb', line 16 def get node (@all[node] or {}) end |
#run ⇒ Object
12 13 14 |
# File 'lib/ring/sqa/nodes.rb', line 12 def run Thread.new { @inotify.run } end |