Class: RIM::ModuleHelper
- Defined in:
- lib/rim/module_helper.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Processor
Processor::GerritServer, Processor::MaxThreads
Instance Attribute Summary collapse
-
#module_info ⇒ Object
readonly
Returns the value of attribute module_info.
Instance Method Summary collapse
-
#initialize(workspace_root, module_info, logger) ⇒ ModuleHelper
constructor
A new instance of ModuleHelper.
Methods inherited from Processor
#clone_or_fetch_repository, #commit, #each_module_parallel, #get_absolute_remote_url, #get_relative_path, #local_changes?, #module_git_path, #module_tmp_git_path, #remote_path, shorten_path
Constructor Details
#initialize(workspace_root, module_info, logger) ⇒ ModuleHelper
Returns a new instance of ModuleHelper.
13 14 15 16 17 18 19 |
# File 'lib/rim/module_helper.rb', line 13 def initialize(workspace_root, module_info, logger) super(workspace_root, logger) @module_info = module_info @remote_url = get_absolute_remote_url(@module_info.remote_url) if @module_info.remote_url @remote_path = remote_path(@module_info.remote_url) if @module_info.remote_url @logger = logger end |
Instance Attribute Details
#module_info ⇒ Object (readonly)
Returns the value of attribute module_info.
11 12 13 |
# File 'lib/rim/module_helper.rb', line 11 def module_info @module_info end |