Class: Negroku::ConfigFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/negroku/config.rb

Class Method Summary collapse

Class Method Details

.loaded_in_bundler(*names) ⇒ Object



16
17
18
# File 'lib/negroku/config.rb', line 16

def self.loaded_in_bundler(*names)
  Bundler.locked_gems.dependencies.any? { |a| names.include?(a.name) }
end