Sha256: cf225ee41452590819602e72f55f13e7d05f7da6156f466ddb10ecbed7f6df41
Contents?: true
Size: 355 Bytes
Versions: 13
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module LanguageServer class ExecuteCommandEngine def initialize @providers = {} end def <<(provider) @providers[provider.command] = provider end def execute(command, arguments) @providers[command].execute(arguments) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems