module Gub
Constants
- VERSION
Attributes
config[RW]
debug[RW]
git[RW]
github[RW]
log[RW]
Public Class Methods
current_user()
click to toggle source
# File lib/gub.rb, line 31 def current_user @github.user.login end
start(debug)
click to toggle source
# File lib/gub.rb, line 18 def start debug @debug = debug # Initialize log first @log = Gub::Logger.new # Now load the congiuration @config = Gub::Config.new # The rest of stuff @git = Gub::Git.new @github = Gub::Github.new(access_token: self.config.token) # Invoke our CLI Gub::CLI.start end