Module: Zomgit
- Defined in:
- lib/zomgit.rb,
lib/zomgit/version.rb,
lib/zomgit/commands.rb,
lib/zomgit/persistor.rb,
lib/zomgit/exceptions.rb,
lib/zomgit/commands/find.rb,
lib/zomgit/commands/status.rb,
lib/zomgit/concerns/findable.rb,
lib/zomgit/helpers/file_helper.rb,
lib/zomgit/helpers/rainbow_helper.rb
Defined Under Namespace
Modules: Commands, Concerns, Exceptions, Helpers
Classes: CLI, Persistor
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.project_root ⇒ Object
19
20
21
|
# File 'lib/zomgit.rb', line 19
def project_root
@project_root
end
|
.project_root=(value) ⇒ Object
24
25
26
27
28
29
30
|
# File 'lib/zomgit.rb', line 24
def project_root=(value)
if value.empty?
raise Zomgit::Exceptions::NoGitRepoFoundError.new("Directory is not a git repository (#{Dir.getwd})")
end
@project_root = value
end
|