Module: Bashly::Script::Introspection::Dependencies
- Included in:
- Command
- Defined in:
- lib/bashly/script/introspection/dependencies.rb
Instance Method Summary collapse
-
#dependencies ⇒ Object
Returns an array of Dependency objects.
Instance Method Details
#dependencies ⇒ Object
Returns an array of Dependency objects
6 7 8 9 10 11 12 |
# File 'lib/bashly/script/introspection/dependencies.rb', line 6 def dependencies return [] unless ['dependencies'] @dependencies ||= ['dependencies'].map do |key, value| Dependency.from_config key, value end end |