Sha256: b5c1b0004c8ee68c87b1e8aa9f9913f2033d9cc042bcde5dee7921d273d6ee68
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
module GitSu class Factory def initialize(output) @output = output end def switcher user_list_file = File.expand_path("~/.gitsu") shell = Shell.new git = CachingGit.new(shell) user_list = UserList.new(user_list_file) Switcher.new(git, user_list, @output) end def git_su Gitsu.new(switcher, @output) end def runner Runner.new(@output) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitsu-0.0.2 | lib/gitsu/factory.rb |
gitsu-0.0.1 | lib/gitsu/factory.rb |