Sha256: 90c471707de9afb1e749cfb0c69c9bffb7f2a66e9d00fedefb00f2d09c8b893f
Contents?: true
Size: 492 Bytes
Versions: 8
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true # Monkey patch URL decoding in object displays. Usually :: is interpreted as a # namespace, but this is disabled in our base object, and so instead gets # URL-encoded. require 'yard/server/commands/display_object_command' # Monkey patch YARD::Server::Commands::DisplayObjectCommand object_path. class YARD::Server::Commands::DisplayObjectCommand private alias object_path_yard object_path def object_path object_path_yard.gsub('_3A', ':') end end
Version data entries
8 entries across 8 versions & 1 rubygems