module ViewComponent::CaptureCompatibility

def self.included(base)

def self.included(base)
  return if base < InstanceMethods
  base.class_eval do
    alias_method :original_capture, :capture
  end
  base.prepend(InstanceMethods)
end