Module: Grably::Job

Included in:
SyncJob, TextJob, UnzipJob, ZipJob
Defined in:
lib/grably/job.rb,
lib/grably/job/class.rb,
lib/grably/job/instance.rb,
lib/grably/job/manifest.rb

Overview

TBD

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Manifest

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



17
18
19
20
21
# File 'lib/grably/job.rb', line 17

def included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
  jobs << receiver
end

.jobsObject



23
24
25
# File 'lib/grably/job.rb', line 23

def jobs
  @jobs ||= []
end