9 lines
169 B
Ruby
9 lines
169 B
Ruby
|
|
module CommandsStorage
|
||
|
|
def self.add_job_lambda(job_with_lambda)
|
||
|
|
job_lambdas.merge!(job_with_lambda)
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.job_lambdas
|
||
|
|
@job_lambdas ||= {}
|
||
|
|
end
|
||
|
|
end
|