Module: Grably::Job
- 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 |
.jobs ⇒ Object
23 24 25 |
# File 'lib/grably/job.rb', line 23 def jobs @jobs ||= [] end |