Module: Jax::Generators::CoffeeGenerator

Included in:
InstallGenerator, NamedBase
Defined in:
lib/generators/jax/base/coffee_generator.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
# File 'lib/generators/jax/base/coffee_generator.rb', line 13

def self.included(base)
  base.class_eval do
    class_option :without_coffeescript, :type => :boolean, :aliases => "-j", :default => false,
                 :desc => "Indicates whether to generate pure JavaScript instead of CoffeeScript"
  end
end