Class: AppDrone::Ember

Inherits:
Drone
  • Object
show all
Defined in:
lib/app_drone/drones/ember/ember.rb

Instance Attribute Summary

Attributes inherited from Drone

#params

Instance Method Summary collapse

Methods inherited from Drone

#>>, #^, categories, category, dependants, dependencies, depends_on, desc, #do!, #do_finally!, drones, #flair!, generator_method, human_name, #initialize, #method_missing, #notify!, owns_generator_method, #pair?, pairs, pairs_with, param, #param, param_named, param_with, params, precursors, #render, run_after, #setup, to_sym

Constructor Details

This class inherits a constructor from AppDrone::Drone

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AppDrone::Drone

Instance Method Details

#alignObject



8
9
10
11
12
13
14
# File 'lib/app_drone/drones/ember/ember.rb', line 8

def align
  bundle.add 'ember-rails'
  javascript.pipeline 'ember'
  if param(:app_skeleton)
    javascript.pipeline 'ember/#{app_name}.js'
  end
end

#executeObject



16
17
18
# File 'lib/app_drone/drones/ember/ember.rb', line 16

def execute
  do! :install
end