Class: Loco::NotificationCenterGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Loco::NotificationCenterGenerator
- Defined in:
- lib/generators/loco/notification_center/notification_center_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_dir_with_file ⇒ Object
7 8 9 |
# File 'lib/generators/loco/notification_center/notification_center_generator.rb', line 7 def create_dir_with_file directory '.', Rails.root.join('app') end |