Class: ToastGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/toast/toast_generator.rb

Instance Method Summary collapse

Instance Method Details

#initObject



5
6
7
8
# File 'lib/generators/toast/toast_generator.rb', line 5

def init
 	template "toast-api.rb.erb", 'config/toast-api.rb' 
  empty_directory "config/toast-api/"
end