Class: LanGrove::Job::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/langrove/job_base.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, queue_name, logger) ⇒ Base

Returns a new instance of Base.



10
11
12
13
14
# File 'lib/langrove/job_base.rb', line 10

def initialize( config, queue_name, logger)
  
  logger.info ( "starting unimplemented queuer") unless logger.nil?
  
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(symbol, *args, &block) ⇒ Object



16
17
18
# File 'lib/langrove/job_base.rb', line 16

def method_missing( symbol, *args, &block )
  puts "#{self}.#{symbol}( #{args} )" unless @parameter == :silent
end