Class: Piston::Git::Client

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/piston/git/client.rb

Defined Under Namespace

Classes: BadCommand, CommandError, Failed

Instance Method Summary collapse

Instance Method Details

#git(*args) ⇒ Object



20
21
22
# File 'lib/piston/git/client.rb', line 20

def git(*args)
  run_cmd :git, *args
end

#loggerObject



12
13
14
# File 'lib/piston/git/client.rb', line 12

def logger
  @logger ||= Log4r::Logger["handler::client"]
end

#out_loggerObject



16
17
18
# File 'lib/piston/git/client.rb', line 16

def out_logger
  @out_logger ||= Log4r::Logger["handler::client::out"]
end