Class: LanguageServer::Protocol::Interface::InitializedParams
- Inherits:
-
Object
- Object
- LanguageServer::Protocol::Interface::InitializedParams
- Defined in:
- lib/language_server/protocol/interface/initialized_params.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize ⇒ InitializedParams
constructor
A new instance of InitializedParams.
- #to_hash ⇒ Object
- #to_json(*args) ⇒ Object
Constructor Details
#initialize ⇒ InitializedParams
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
#attributes ⇒ Object (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_hash ⇒ Object
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 |