Class: JaxGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JaxGenerator
- Defined in:
- lib/generators/jax/jax_generator.rb
Instance Method Summary collapse
Instance Method Details
#show_helpful_info ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/generators/jax/jax_generator.rb', line 4 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.}" end end end |