Class: Chatroom::Generators::AssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Chatroom::Generators::AssetsGenerator
- Defined in:
- lib/generators/chatroom/assets_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_coffees ⇒ Object
14 15 16 17 18 |
# File 'lib/generators/chatroom/assets_generator.rb', line 14 def generate_coffees directory "javascripts/chatroom", "#{javascripts_target_path}" do |content| content end end |
#generate_images ⇒ Object
20 21 22 23 24 |
# File 'lib/generators/chatroom/assets_generator.rb', line 20 def generate_images directory "images", "#{images_target_path}" do |content| content end end |
#generate_stylesheets ⇒ Object
8 9 10 11 12 |
# File 'lib/generators/chatroom/assets_generator.rb', line 8 def generate_stylesheets directory "stylesheets/chatroom", "#{stylesheets_target_path}" do |content| content end end |