Module: HereOrThere

Defined in:
lib/here_or_there.rb,
lib/here_or_there/local.rb,
lib/here_or_there/remote.rb,
lib/here_or_there/version.rb,
lib/here_or_there/response.rb

Defined Under Namespace

Modules: Remote Classes: Local, Response

Constant Summary collapse

VERSION =
"0.3.0"

Instance Method Summary collapse

Instance Method Details

#run_local(command) ⇒ Object



13
14
15
# File 'lib/here_or_there.rb', line 13

def run_local command
  Local.new.run command
end

#run_remote(command, options = {}) ⇒ Object



17
18
19
# File 'lib/here_or_there.rb', line 17

def run_remote command, options={}
  Remote.session( options ).run( command )
end