Sha256: f683556f91ba157c9901f390d538c746de7f98c3ea84e15cd8c8ef6db63cce29
Contents?: true
Size: 453 Bytes
Versions: 12
Compression:
Stored size: 453 Bytes
Contents
module DaemonKit module Generators class CronGenerator < Base def update_gemfile append_file 'Gemfile', "gem 'rufus-scheduler', '>= 2.0.3'\n" end def create_initializers directory 'config' end def create_daemon directory 'libexec' end protected def self.source_root File.expand_path( File.join( File.dirname(__FILE__), 'templates') ) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems