Sha256: 7a513d4b68c1fd7bbce07ae3cebda8129e0ca5ab0aa2b3830dc40fca0e9c5a55

Contents?: true

Size: 409 Bytes

Versions: 15

Compression:

Stored size: 409 Bytes

Contents

require File.expand_path("all", File.dirname(__FILE__))

class JaxGenerator < ::Rails::Generators::Base
  def show_helpful_info
    say "You can invoke the following Jax generators:\n\n"
    Jax::Generators.constants.each do |const_name|
      const = Jax::Generators.const_get const_name
      unless const.name =~ /Base$/ or not const.is_a? Class
        say "  #{const.banner}"
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jax-3.0.0.rc2 lib/generators/jax/jax_generator.rb
jax-2.0.12 lib/generators/jax/jax_generator.rb
jax-3.0.0.rc1 lib/generators/jax/jax_generator.rb
jax-2.0.11 lib/generators/jax/jax_generator.rb
jax-2.0.10 lib/generators/jax/jax_generator.rb
jax-2.0.9 lib/generators/jax/jax_generator.rb
jax-2.0.8 lib/generators/jax/jax_generator.rb
jax-2.0.7 lib/generators/jax/jax_generator.rb
jax-2.0.6 lib/generators/jax/jax_generator.rb
jax-2.0.5 lib/generators/jax/jax_generator.rb
jax-2.0.4 lib/generators/jax/jax_generator.rb
jax-2.0.3 lib/generators/jax/jax_generator.rb
jax-2.0.2 lib/generators/jax/jax_generator.rb
jax-2.0.1 lib/generators/jax/jax_generator.rb
jax-2.0.0 lib/generators/jax/jax_generator.rb