Class: Hobo::UserModelGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Hobo::UserModelGenerator
- Includes:
- Generators::HoboSupport::Model, classy_module do class_option :activation_email, :type => :boolean, :desc => "Send an email to activate the account" end, classy_module do class_option :invite_only, :aliases => '-i', :type => :boolean, :desc => "Add features for an invite only website" private def invite_only? options[:invite_only] end end
- Defined in:
- lib/generators/hobo/user_model/user_model_generator.rb
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
13 14 15 |
# File 'lib/generators/hobo/user_model/user_model_generator.rb', line 13 def self. "rails generate hobo:user_model [NAME=user] [options]" end |