Type:
Class
remove_hook_for
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

remove_hook_for(*names) Class Public methods Remove a previously added hook

2025-01-10 15:47:30
base_root
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

base_root() Class Public methods Returns the base root for a common set of generators

2025-01-10 15:47:30
hide!
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

hide!() Class Public methods Convenience method to hide this generator from

2025-01-10 15:47:30
source_root
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

source_root(path=nil) Class Public methods Returns the source root for this

2025-01-10 15:47:30
desc
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

desc(description=nil) Class Public methods Tries to get the description from

2025-01-10 15:47:30
namespace
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

namespace(name=nil) Class Public methods Convenience method to get the namespace

2025-01-10 15:47:30
hook_for
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

hook_for(*names, &block) Class Public methods Invoke a generator based on

2025-01-10 15:47:30
extract_last_module
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

extract_last_module(nesting) Instance Protected methods Takes in an array of

2025-01-10 15:47:30
default_source_root
  • References/Ruby on Rails/Rails/Classes/Rails/Rails::Generators/Rails::Generators::Base

default_source_root() Class Public methods Returns the default source root for

2025-01-10 15:47:30