Class: ZAssets::Plugins::EmberEmblem::Registrant
- Inherits:
-
Object
- Object
- ZAssets::Plugins::EmberEmblem::Registrant
- Defined in:
- lib/zassets/plugins/ember_emblem/registrant.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Registrant
constructor
A new instance of Registrant.
- #register ⇒ Object
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
#register ⇒ Object
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 |