Class: Bump::CLI::References
- Inherits:
-
Hash
- Object
- Hash
- Bump::CLI::References
- Defined in:
- lib/bump/cli/references.rb
Instance Method Summary collapse
-
#initialize(root_path: "") ⇒ References
constructor
A new instance of References.
- #load(definition) ⇒ Object
Constructor Details
#initialize(root_path: "") ⇒ References
Returns a new instance of References.
7 8 9 |
# File 'lib/bump/cli/references.rb', line 7 def initialize(root_path: "") @root_path = root_path end |
Instance Method Details
#load(definition) ⇒ Object
11 12 13 |
# File 'lib/bump/cli/references.rb', line 11 def load(definition) traverse_and_load_external_references(definition) if definition.is_a?(Enumerable) end |