Module: GitGoggles

Defined in:
lib/git_goggles.rb,
lib/git_goggles/app.rb,
lib/git_goggles/cli.rb,
lib/git_goggles/version.rb,
lib/git_goggles/repository.rb

Defined Under Namespace

Classes: App, CLI, Repository

Constant Summary collapse

VERSION =
'0.0.6'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.root_dirObject

Returns the value of attribute root_dir.



11
12
13
# File 'lib/git_goggles.rb', line 11

def root_dir
  @root_dir
end

Class Method Details

.repositoriesObject



14
15
16
17
18
# File 'lib/git_goggles.rb', line 14

def self.repositories
  Dir.glob(root_dir + "/*/").map do |full_path|
    File.basename(full_path)
  end
end