class RubyLanguageServer::ScopeData::Base

Constants

BLOCK_NAME
JoinHash
TYPE_BLOCK
TYPE_CLASS
TYPE_METHOD
TYPE_MODULE
TYPE_ROOT
TYPE_VARIABLE

Attributes

type[RW]

Public Instance Methods

method?() click to toggle source

RubyLanguageServer::ScopeData::Scope.connection.exec_query(“SELECT LEVENSHTEIN( 'This is not correct', 'This is correct' )”)

# File lib/ruby_language_server/scope_data/base.rb, line 39
def method?
  type == TYPE_METHOD
end