Module: Maxwell::Agent::Probe

Defined in:
lib/maxwell/agent/probe.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/maxwell/agent/probe.rb', line 4

def self.included(base)
  base.extend(ClassMethods)
  base.instance_eval do
    private_class_method :call_handler, :instance
    attr_accessor :output, :args
  end
end

Instance Method Details

#work_typeObject



12
13
14
# File 'lib/maxwell/agent/probe.rb', line 12

def work_type
  self.class.work_type
end