Class: ZAssets::Plugins::EmberEmblem::Registrant

Inherits:
Object
  • Object
show all
Defined in:
lib/zassets/plugins/ember_emblem/registrant.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Registrant

Returns a new instance of Registrant.



11
12
13
# File 'lib/zassets/plugins/ember_emblem/registrant.rb', line 11

def initialize config
  @config = config
end

Instance Method Details

#registerObject



15
16
17
18
# File 'lib/zassets/plugins/ember_emblem/registrant.rb', line 15

def register
  @config[:paths] << ember_vendor_path << ember_data_vendor_path
  @config[:engines][:emblem] = Ember::Emblem::Template
end