Class: LanguageServer::Protocol::Interface::InitializedParams

Inherits:
Object
  • Object
show all
Defined in:
lib/language_server/protocol/interface/initialized_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInitializedParams

Returns a new instance of InitializedParams.



5
6
7
8
9
10
# File 'lib/language_server/protocol/interface/initialized_params.rb', line 5

def initialize()
  @attributes = {}


  @attributes.freeze
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



12
13
14
# File 'lib/language_server/protocol/interface/initialized_params.rb', line 12

def attributes
  @attributes
end

Instance Method Details

#to_hashObject



14
15
16
# File 'lib/language_server/protocol/interface/initialized_params.rb', line 14

def to_hash
  attributes
end

#to_json(*args) ⇒ Object



18
19
20
# File 'lib/language_server/protocol/interface/initialized_params.rb', line 18

def to_json(*args)
  to_hash.to_json(*args)
end