# File lib/vte/deprecated.rb, line 10
    def define_deprecated_method(deprecated_method, new_method)
      if public_method_defined?(new_method)
        define_method(deprecated_method) do |*args, &block|
          warn "#{caller[0]}: '#{deprecated_method}' has been deprecated. Use '#{new_method}'."
          __send__(new_method, *args, &block)
        end
      end
    end