class Tlog::Command::Pull
Public Instance Methods
description()
click to toggle source
# File lib/tlog/command/pull.rb, line 8 def description "pulls time logs from upstream" end
execute(input, output)
click to toggle source
# File lib/tlog/command/pull.rb, line 12 def execute(input, output) pull_logs end
name()
click to toggle source
# File lib/tlog/command/pull.rb, line 4 def name "pull" end
options(parser, options)
click to toggle source
# File lib/tlog/command/pull.rb, line 16 def options(parser, options) parser.banner = "usage: tlog pull" end
Private Instance Methods
pull_logs()
click to toggle source
# File lib/tlog/command/pull.rb, line 22 def pull_logs storage.in_branch do |wd| storage.pull_logs end end