Sha256: eddeb6e440e5ff8a53e8b1af822dc2e9813a78578b4354f56ad785812f8982ad
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
module Cumuli class CLI class RemoteCommander attr_reader :raw_command, :dir def initialize(command, dir) @raw_command = command @dir = dir end def command Commander.new(raw_command).build end def perform Dir.chdir(dir) do Terminal.new(command).spawn end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cumuli-0.5.0 | lib/cumuli/cli/remote_commander.rb |