# File lib/net/ssh/session_command.rb, line 43 def to_hash { 'command' => command, 'output' => output, 'exit_code' => exit_code, 'start_time' => start_time, 'finish_time' => finish_time, 'duration' => duration } end