Class: PusherGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- PusherGenerator
- Defined in:
- lib/generators/pusher/pusher_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_pusher_file ⇒ Object
7 8 9 |
# File 'lib/generators/pusher/pusher_generator.rb', line 7 def create_pusher_file template 'pusher.rb', File.join('app/pushers', class_path, "#{file_name}_pusher.rb") end |