Class: RailsAppGenerator::Dependencies
- Inherits:
-
Object
- Object
- RailsAppGenerator::Dependencies
- Defined in:
- lib/rails_app_generator/dependencies.rb
Overview
XXXX
Instance Method Summary collapse
-
#initialize(addon, context) ⇒ Dependencies
constructor
A new instance of Dependencies.
- #satisfied? ⇒ Boolean
Constructor Details
#initialize(addon, context) ⇒ Dependencies
Returns a new instance of Dependencies.
6 7 8 9 10 |
# File 'lib/rails_app_generator/dependencies.rb', line 6 def initialize(addon, context) @addon = addon @context = context @options = context. end |
Instance Method Details
#satisfied? ⇒ Boolean
12 13 14 15 16 17 18 |
# File 'lib/rails_app_generator/dependencies.rb', line 12 def satisfied? @addon.dependencies.each do |dependency| return false unless dependencies_satisfied?(dependency) end true end |