Class: LSP::PuppetVersion
Overview
export interface PuppetVersionDetails
puppetVersion: string;
facterVersion: string;
languageServerVersion: string;
factsLoaded: boolean;
functionsLoaded: boolean;
typesLoaded: boolean;
classesLoaded: boolean;
Instance Attribute Summary collapse
-
#classesLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#facterVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#factsLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#functionsLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#languageServerVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#puppetVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
-
#typesLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#classesLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def classesLoaded @classesLoaded end |
#facterVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def facterVersion @facterVersion end |
#factsLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def factsLoaded @factsLoaded end |
#functionsLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def functionsLoaded @functionsLoaded end |
#languageServerVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def languageServerVersion @languageServerVersion end |
#puppetVersion ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def puppetVersion @puppetVersion end |
#typesLoaded ⇒ Object
type: string # type: string # type: string # type: boolean # type: boolean # type: boolean # type: boolean
17 18 19 |
# File 'lib/lsp/lsp_custom.rb', line 17 def typesLoaded @typesLoaded end |
Instance Method Details
#from_h!(value) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/lsp/lsp_custom.rb', line 19 def from_h!(value) value = {} if value.nil? self.puppetVersion = value['puppetVersion'] self.facterVersion = value['facterVersion'] self.languageServerVersion = value['languageServerVersion'] self.factsLoaded = value['factsLoaded'] self.functionsLoaded = value['functionsLoaded'] self.typesLoaded = value['typesLoaded'] self.classesLoaded = value['classesLoaded'] self end |