Class: Avm::Launcher::Context::InstanceDiscovery
- Defined in:
- lib/avm/launcher/context/instance_discovery.rb
Instance Attribute Summary collapse
-
#instances ⇒ Object
readonly
Returns the value of attribute instances.
Instance Method Summary collapse
-
#initialize(context) ⇒ InstanceDiscovery
constructor
A new instance of InstanceDiscovery.
Constructor Details
#initialize(context) ⇒ InstanceDiscovery
Returns a new instance of InstanceDiscovery.
12 13 14 15 16 17 18 |
# File 'lib/avm/launcher/context/instance_discovery.rb', line 12 def initialize(context) @context = context @progress = ::ProgressBar.create(title: 'Instance discovery', total: 1) @instances = path_instances(@context.root, nil) ensure @progress&.finish end |
Instance Attribute Details
#instances ⇒ Object (readonly)
Returns the value of attribute instances.
10 11 12 |
# File 'lib/avm/launcher/context/instance_discovery.rb', line 10 def instances @instances end |