Module: Avm::EacRubyBase0::SourceGenerators::Base::Executable

Defined in:
lib/avm/eac_ruby_base0/source_generators/base/executable.rb

Instance Method Summary collapse

Instance Method Details

#executable_nameString

Returns:

  • (String)


12
13
14
# File 'lib/avm/eac_ruby_base0/source_generators/base/executable.rb', line 12

def executable_name
  options[OPTION_EXECUTABLE_NAME].if_present(name)
end

#executable_target_pathPathname

Returns:

  • (Pathname)


17
18
19
# File 'lib/avm/eac_ruby_base0/source_generators/base/executable.rb', line 17

def executable_target_path
  target_path.join(EXECUTABLES_DIRECTORY, executable_name)
end