Class: LanguageServer::Protocol::Interface::FoldingRangeProviderOptions
- Inherits:
-
Object
- Object
- LanguageServer::Protocol::Interface::FoldingRangeProviderOptions
- Defined in:
- lib/language_server/protocol/interface/folding_range_provider_options.rb
Overview
Folding range provider options.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize ⇒ FoldingRangeProviderOptions
constructor
A new instance of FoldingRangeProviderOptions.
- #to_hash ⇒ Object
- #to_json(*args) ⇒ Object
Constructor Details
#initialize ⇒ FoldingRangeProviderOptions
Returns a new instance of FoldingRangeProviderOptions.
8 9 10 11 12 13 |
# File 'lib/language_server/protocol/interface/folding_range_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/folding_range_provider_options.rb', line 15 def attributes @attributes end |
Instance Method Details
#to_hash ⇒ Object
17 18 19 |
# File 'lib/language_server/protocol/interface/folding_range_provider_options.rb', line 17 def to_hash attributes end |
#to_json(*args) ⇒ Object
21 22 23 |
# File 'lib/language_server/protocol/interface/folding_range_provider_options.rb', line 21 def to_json(*args) to_hash.to_json(*args) end |