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: pretty_print.rb
    path of file: ./repos/action_policy/lib/action_policy/utils
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

old_verbose = $VERBOSE

begin
  require "method_source"
  # Ignore parse warnings when patch
  # Ruby version mismatches
  $VERBOSE = nil
  require "parser/current"
  require "unparser"
rescue LoadError
  # do nothing
ensure
  $VERBOSE = old_verbose
end

module ActionPolicy
  using RubyNext

  # Takes the ob
    
        def available?() = true

        def print_method(object, method_name)
          ast = object.method(method_name).source.then(&Unparser.:parse)
          # outer node is a method definition itself
          body = ast.children[2]

          Visitor.new(object).collect(body)
        end
      else
        def available?() = false

        def print_method(_, _) = ""
      end

      def colorize(val)
        return val unless $stdout.isatty
        return TRUE if val.eql?(true) # rubocop:disable Lint/DeprecatedConstants
        return FALSE if val.eql?(false) # rubocop:disable Lint/DeprecatedConstants
        val
      end
    end

    self.ignore_expressions = [
      /^\s*binding\.(pry|irb)\s*$/s
    ]
  end