Class: RubyLsp::Tapioca::ServerAddon

Inherits:
Rails::ServerAddon
  • Object
show all
Defined in:
lib/ruby_lsp/tapioca/server_addon.rb

Instance Method Summary collapse

Instance Method Details

#execute(request, params) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/ruby_lsp/tapioca/server_addon.rb', line 13

def execute(request, params)
  case request
  when "dsl"
    fork do
      dsl(params)
    end
  end
end

#nameObject



9
10
11
# File 'lib/ruby_lsp/tapioca/server_addon.rb', line 9

def name
  "Tapioca"
end