Module: Braid
- Defined in:
- lib/braid.rb,
lib/braid/config.rb,
lib/braid/mirror.rb,
lib/braid/command.rb,
lib/braid/operations.rb,
lib/braid/commands/add.rb,
lib/braid/commands/diff.rb,
lib/braid/commands/setup.rb,
lib/braid/commands/remove.rb,
lib/braid/commands/update.rb
Defined Under Namespace
Modules: Commands, Operations Classes: BraidError, Command, Config, Mirror
Constant Summary collapse
- VERSION =
"0.5"
- CONFIG_FILE =
CONFIG_FILE = “.braids” CONFIG_FILE = “CONFIGFILE”
".gitnest"
- REQUIRED_GIT_VERSION =
"1.6"
Class Method Summary collapse
- .local_cache_dir ⇒ Object
-
.use_local_cache ⇒ Object
def self.use_local_cache; [nil, “true”, “1”].include?(ENV); end.
- .verbose ⇒ Object
- .verbose=(new_value) ⇒ Object
Class Method Details
.local_cache_dir ⇒ Object
16 |
# File 'lib/braid.rb', line 16 def self.local_cache_dir; File.(ENV["BRAID_LOCAL_CACHE_DIR"] || "#{ENV["HOME"]}/.braid/cache"); end |
.use_local_cache ⇒ Object
def self.use_local_cache; [nil, “true”, “1”].include?(ENV); end
15 |
# File 'lib/braid.rb', line 15 def self.use_local_cache; false; end |
.verbose ⇒ Object
11 |
# File 'lib/braid.rb', line 11 def self.verbose; @verbose || false; end |
.verbose=(new_value) ⇒ Object
12 |
# File 'lib/braid.rb', line 12 def self.verbose=(new_value); @verbose = !!new_value; end |