Method: TTY::Command::Cmd#environment

Defined in:
lib/tty/command/cmd.rb

#environmentObject

The shell environment variables



77
78
79
# File 'lib/tty/command/cmd.rb', line 77

def environment
  @env.merge(options.fetch(:env, {}))
end