Method: LanguageServer::Protocol::Interface::SaveOptions#initialize

Defined in:
lib/language_server/protocol/interface/save_options.rb

#initialize(include_text: nil) ⇒ SaveOptions

Returns a new instance of SaveOptions.



8
9
10
11
12
13
14
# File 'lib/language_server/protocol/interface/save_options.rb', line 8

def initialize(include_text: nil)
  @attributes = {}

  @attributes[:includeText] = include_text if include_text

  @attributes.freeze
end