Sha256: 5c3f99017c110926a3b4b1d889893e9ffa7d6f864e9bf721c6676e3207025a74
Contents?: true
Size: 400 Bytes
Versions: 8
Compression:
Stored size: 400 Bytes
Contents
require "irb/command" module MissionControl::Jobs::Console class ConnectTo < IRB::Command::Base category "Mission control jobs" description "Connect to a job server" def execute(server_locator) server = MissionControl::Jobs::Server.from_global_id(server_locator) MissionControl::Jobs::Current.server = server puts "Connected to #{server_locator}" end end end
Version data entries
8 entries across 8 versions & 1 rubygems