Module: EacRubyUtils::Envs::BaseCommand

Included in:
Command, CompositeCommand
Defined in:
lib/eac_ruby_utils/envs/base_command.rb,
lib/eac_ruby_utils/envs/base_command/concat.rb,
lib/eac_ruby_utils/envs/base_command/debugging.rb,
lib/eac_ruby_utils/envs/base_command/execution.rb,
lib/eac_ruby_utils/envs/base_command/extra_options.rb,
lib/eac_ruby_utils/envs/base_command/append_command_options.rb

Defined Under Namespace

Modules: Concat, Debugging, Execution, ExtraOptions Classes: AppendCommandOptions

Instance Method Summary collapse

Instance Method Details

#command(options = {}) ⇒ Object



24
25
26
27
28
29
# File 'lib/eac_ruby_utils/envs/base_command.rb', line 24

def command(options = {})
  append_command_options(
    env.command_line(command_line_without_env),
    options
  )
end

#command_line_without_env(_options = {}) ⇒ String

Returns:



32
33
34
# File 'lib/eac_ruby_utils/envs/base_command.rb', line 32

def command_line_without_env(_options = {})
  raise_abstract_method __method__
end

#envEacRubyUtils::Envs::BaseEnv



20
21
22
# File 'lib/eac_ruby_utils/envs/base_command.rb', line 20

def env
  raise_abstract_method __method__
end