class Yael::Generators::InstallGenerator

Public Instance Methods

copy_dispatch_map() click to toggle source
# File lib/generators/yael/install/install_generator.rb, line 11
def copy_dispatch_map
  template "events.rb", "config/events.rb"
end
copy_migration() click to toggle source
# File lib/generators/yael/install/install_generator.rb, line 15
def copy_migration
  template "create_events.rb", "db/migrate/#{DateTime.current.strftime '%Y%m%d%H%M%S'}_create_yael_events.rb"
end