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

No files matched your search

+1 -1
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
@@ -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