Class: SlowYourRoles::Generators::SlowYourRolesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SlowYourRoles::Generators::SlowYourRolesGenerator
- Defined in:
- lib/generators/slow_your_roles/slow_your_roles_generator.rb
Overview
Generator class to add SlowYourRoles to an ActiveRecord model.
Instance Method Summary collapse
Instance Method Details
#show_readme ⇒ Object
21 22 23 |
# File 'lib/generators/slow_your_roles/slow_your_roles_generator.rb', line 21 def show_readme readme 'README' if behavior == :invoke end |