Class: Shelltoad

Inherits:
Object
  • Object
show all
Defined in:
lib/shelltoad.rb,
lib/shelltoad.rb,
lib/shelltoad/error.rb,
lib/shelltoad/command.rb,
lib/shelltoad/exceptions.rb

Defined Under Namespace

Classes: BaseException, Command, Configuration, Error, ErrorNotFound, NoApiKey, NoConfigfile, NoProject, ServiceNotAvailable

Constant Summary collapse

OUTPUT =
::STDOUT

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.output(string) ⇒ Object



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

def self.output(string)
  OUTPUT << "#{string.to_s.strip}\n"
end

.run(*args) ⇒ Object



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

def self.run(*args)
  Command.run(*args)
end

Instance Method Details

#output(string) ⇒ Object



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

def output(string)
  self.class.output(string)
end