class Gitius::Core
Public Instance Methods
config(key, value = nil)
click to toggle source
# File lib/gitius/core.rb, line 21 def config(key, value = nil) value.nil? ? puts(get_config(key)) : change_config(key, value) end
version()
click to toggle source
# File lib/gitius/core.rb, line 27 def version puts "v#{Gitius::VERSION}" end
whoami()
click to toggle source
# File lib/gitius/core.rb, line 13 def whoami name = if options[:name] then user.name else user.login end puts name rescue StandardError puts 'Incorrect settings' end