This commit is contained in:
Dzmitry Plashchynski
2015-03-14 03:26:32 +02:00
parent 8a89a9a8eb
commit 1af691ef24
6 changed files with 23 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
module Crono
# PerformerProxy is a proxy used in cronotab.rb semantic
# Crono::PerformerProxy is a proxy used in cronotab.rb semantic
class PerformerProxy
def initialize(performer, scheduler)
@performer = performer

View File

@@ -4,6 +4,7 @@ require 'rails/generators/active_record'
module Crono
module Generators
# rails generate crono:install
class InstallGenerator < ::Rails::Generators::Base
include Rails::Generators::Migration
@@ -19,7 +20,8 @@ module Crono
end
def create_migrations
migration_template 'migrations/create_crono_jobs.rb', 'db/migrate/create_crono_jobs.rb'
migration_template 'migrations/create_crono_jobs.rb',
'db/migrate/create_crono_jobs.rb'
end
end
end