Method: Nailgun::Client.run

Defined in:
lib/nailgun/client.rb

.run(command, args, opts = {}) ⇒ Object

Public: Convinience method to instantiate and run the command

command - see #run args - see #run opts = {} - see #initialize

Returns the duplicated String.



21
22
23
# File 'lib/nailgun/client.rb', line 21

def self.run(command, args, opts = {})
  self.new(opts).run(command, args)
end