Class: LanguageServer::Protocol::Interface::FoldingRangeProviderOptions

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

Overview

Folding range provider options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFoldingRangeProviderOptions

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

#attributesObject (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_hashObject



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