Class: Avm::Launcher::Context::InstanceDiscovery::RootSourceWrappers
- Inherits:
-
Object
- Object
- Avm::Launcher::Context::InstanceDiscovery::RootSourceWrappers
- Defined in:
- lib/avm/launcher/context/instance_discovery/root_source_wrappers.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Enumerable<Avm::Launcher::Context::InstanceDiscovery::SourceWrapper>
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/avm/launcher/context/instance_discovery/root_source_wrappers.rb', line 16 def result owner.root_sources.map do |source| ::Avm::Launcher::Context::InstanceDiscovery::SourceWrapper.new( owner, ::Avm::Launcher::Paths::Logical.new( owner.context, nil, source.to_path, "/#{source.basename}" ), nil ) end end |