You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: context.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/therubyracer-0.12.3/lib/v8
    
    the code of the file until where you have to start completion: # -*- coding: utf-8 -*-
require 'stringio'
module V8
  # All JavaScript must be executed in a context. This context consists of a global scope cont
    
    def lock_scope_and_enter
      current = Context.current
      Context.current = self
      V8::C::Locker() do
        V8::C::HandleScope() do
          begin
            @native.Enter()
            yield if block_given?
          ensure
            @native.Exit()
          end
        end
      end