Class: Avm::Launcher::Context::InstanceCollector
- Inherits:
-
Object
- Object
- Avm::Launcher::Context::InstanceCollector
- Defined in:
- lib/avm/launcher/context/instance_collector.rb
Instance Method Summary collapse
Instance Method Details
#add_all ⇒ Object
11 12 13 14 |
# File 'lib/avm/launcher/context/instance_collector.rb', line 11 def add_all instances_set.merge(context.instances) self end |
#add_path(path) ⇒ Object
16 17 18 19 |
# File 'lib/avm/launcher/context/instance_collector.rb', line 16 def add_path(path) instances_set.merge(instances_on_path(path)) self end |
#add_pending ⇒ Object
21 22 23 24 |
# File 'lib/avm/launcher/context/instance_collector.rb', line 21 def add_pending instances_set.merge(context.pending_instances) self end |
#instances ⇒ Object
26 27 28 |
# File 'lib/avm/launcher/context/instance_collector.rb', line 26 def instances instances_set.sort end |