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