Class: Avm::Sources::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/sources/runner.rb

Instance Method Summary collapse

Instance Method Details

#extra_available_subcommandsObject



16
17
18
# File 'lib/avm/sources/runner.rb', line 16

def extra_available_subcommands
  optional_source.if_present({}, &:extra_available_subcommands)
end

#source_bannerObject



20
21
22
# File 'lib/avm/sources/runner.rb', line 20

def source_banner
  infov 'Source', source
end

#source_pathPathname

Returns:

  • (Pathname)


25
26
27
# File 'lib/avm/sources/runner.rb', line 25

def source_path
  parsed.path.to_pathname
end