Class: ShardRange
- Defined in:
- lib/adhd/models/shard_range.rb
Instance Method Summary collapse
Instance Method Details
#get_nodes ⇒ Object
194 195 196 197 198 199 200 |
# File 'lib/adhd/models/shard_range.rb', line 194 def get_nodes # Return all nodes, with the master being first all_nodes = node_list.clone all_nodes.delete(master_node) all_nodes = [master_node] + all_nodes all_nodes end |