class Orchestra::Conductor::ServiceRecorder::Wrapper

Attributes

__getobj__[RW]
__setobj__[RW]
service[RW]

Public Class Methods

new(service, recording) click to toggle source
Calls superclass method
# File lib/orchestra/conductor.rb, line 97
def initialize service, recording
  super service
  @recording = recording
end

Public Instance Methods

inspect() click to toggle source
# File lib/orchestra/conductor.rb, line 116
def inspect
  "#<#{self.class.name} service=#{service.inspect}>"
end
kind_of?(klass) click to toggle source
Calls superclass method
# File lib/orchestra/conductor.rb, line 102
def kind_of? klass
  super or service.kind_of? klass
end
method_missing(meth, *args) click to toggle source
Calls superclass method
# File lib/orchestra/conductor.rb, line 106
def method_missing meth, *args
  super.tap do |result|
    @recording << {
      :method => meth.to_s,
      :input  => args,
      :output => result,
    }
  end
end