Module: Avm::EacRubyBase0::SourceGenerators::Base::Runner

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

Instance Method Summary collapse

Instance Method Details

#runner_classString

Returns:

  • (String)


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

def runner_class
  runner_require_path.to_path.camelize
end

#runner_require_pathPathname

Returns:

  • (Pathname)


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

def runner_require_path
  lib_path.to_pathname.join('runner')
end

#runner_target_pathPathname

Returns:

  • (Pathname)


22
23
24
# File 'lib/avm/eac_ruby_base0/source_generators/base/runner.rb', line 22

def runner_target_path
  target_path.join('lib', "#{runner_require_path}.rb")
end