Class: Avm::Sources::Base::Runners::RunnersFromModule
- Inherits:
-
Object
- Object
- Avm::Sources::Base::Runners::RunnersFromModule
- Defined in:
- lib/avm/sources/base/runners.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Hash<String, EacCli::Runner>
28 29 30 31 32 |
# File 'lib/avm/sources/base/runners.rb', line 28 def result return {} if runners_module.blank? ::EacCli::RunnerWith::Subcommands.subcommands_from_module(runners_module) end |
#runners_module_uncached ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/avm/sources/base/runners.rb', line 34 def runners_module_uncached return nil if the_module.module_parent.blank? begin the_module.module_parent.const_get('Runners') rescue ::NameError nil end end |