Class: LanguageServer::Protocol::Interface::ColorProviderOptions
- Inherits:
-
Object
- Object
- LanguageServer::Protocol::Interface::ColorProviderOptions
- Defined in:
- lib/language_server/protocol/interface/color_provider_options.rb
Overview
Color provider options.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize ⇒ ColorProviderOptions
constructor
A new instance of ColorProviderOptions.
- #to_hash ⇒ Object
- #to_json(*args) ⇒ Object
Constructor Details
#initialize ⇒ ColorProviderOptions
Returns a new instance of ColorProviderOptions.
8 9 10 11 12 13 |
# File 'lib/language_server/protocol/interface/color_provider_options.rb', line 8 def initialize() @attributes = {} @attributes.freeze end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
15 16 17 |
# File 'lib/language_server/protocol/interface/color_provider_options.rb', line 15 def attributes @attributes end |
Instance Method Details
#to_hash ⇒ Object
17 18 19 |
# File 'lib/language_server/protocol/interface/color_provider_options.rb', line 17 def to_hash attributes end |
#to_json(*args) ⇒ Object
21 22 23 |
# File 'lib/language_server/protocol/interface/color_provider_options.rb', line 21 def to_json(*args) to_hash.to_json(*args) end |