Sha256: 60518cabdef215e3dd5c459745e9557ded066d0ae3d0a28163662d2335279883

Contents?: true

Size: 358 Bytes

Versions: 7

Compression:

Stored size: 358 Bytes

Contents

class SchedulerGenerator < Rails::Generator::Base
  def banner
    "Usage: #{$0} #{spec.name}"
  end

  def manifest
    record do |m|
      m.directory File.join('lib', 'scheduled_tasks')

      m.template 'lib/scheduled_tasks/session_cleaner_task.rb',
        'lib/scheduled_tasks/session_cleaner_task.rb'
      
      m.readme('README')
    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
scheduler_daemon-1.1.6 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon-1.1.5 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon_3lancers-1.1.5 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon-1.1.3 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon_robertcigan-1.1.3 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon-1.1.2 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb
scheduler_daemon-1.1.1 lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb