Class: Sprockets::BumbleD::Resolver

Inherits:
Object
  • Object
show all
Defined in:
lib/sprockets/bumble_d/resolver.rb

Instance Method Summary collapse

Constructor Details

#initialize(babel) ⇒ Resolver

Returns a new instance of Resolver.



4
5
6
# File 'lib/sprockets/bumble_d/resolver.rb', line 4

def initialize(babel)
  @babel = babel
end

Instance Method Details

#resolve_plugins(plugins) ⇒ Object



8
9
10
# File 'lib/sprockets/bumble_d/resolver.rb', line 8

def resolve_plugins(plugins)
  resolve_them(plugins, type: 'Plugin')
end

#resolve_presets(presets) ⇒ Object



12
13
14
# File 'lib/sprockets/bumble_d/resolver.rb', line 12

def resolve_presets(presets)
  resolve_them(presets, type: 'Preset')
end