Class: SuperDiff::Csi::Document::MethodRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/super_diff/csi/document.rb

Instance Method Summary collapse

Methods inherited from Request

#initialize

Constructor Details

This class inherits a constructor from SuperDiff::Csi::Document::Request

Instance Method Details

#resolve(doc, args, opts, &block) ⇒ Object



153
154
155
156
157
# File 'lib/super_diff/csi/document.rb', line 153

def resolve(doc, args, opts, &block)
  doc.public_send(wrapper) do |d|
    d.public_send(name, *args, **opts, &block)
  end
end