Module: GitTree
- Includes:
- Logging
- Defined in:
- lib/git_tree.rb,
lib/util/config.rb,
lib/commands/git_exec.rb,
lib/commands/git_evars.rb,
lib/commands/git_update.rb,
lib/commands/git_replicate.rb,
lib/commands/git_commit_all.rb,
lib/commands/git_treeconfig.rb,
lib/commands/abstract_command.rb
Defined Under Namespace
Classes: AbstractCommand, CommitAllCommand, Config, EvarsCommand, ExecCommand, ReplicateCommand, TreeconfigCommand, UpdateCommand
Constant Summary
Constants included from Logging
Logging::DEBUG, Logging::NORMAL, Logging::QUIET, Logging::VERBOSE
Class Method Summary collapse
-
.require_all(relative_path) ⇒ Object
Helper to require all .rb files in a subdirectory.
Methods included from Logging
#log, #log_stdout, verbosity, verbosity=
Class Method Details
.require_all(relative_path) ⇒ Object
Helper to require all .rb files in a subdirectory
5 6 7 |
# File 'lib/git_tree.rb', line 5 def self.require_all(relative_path) Dir[File.join(__dir__, relative_path, '*.rb')].sort.each { |file| require file } end |