Class: Varar::Config::VarConfig

Inherits:
Data
  • Object
show all
Defined in:
lib/varar/config.rb

Overview

The parsed config. All fields default to empty.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(docs_include: [], docs_exclude: [], steps: [], snippets: {}, scanner_plugins: []) ⇒ VarConfig

Returns a new instance of VarConfig.



14
15
16
# File 'lib/varar/config.rb', line 14

def initialize(docs_include: [], docs_exclude: [], steps: [], snippets: {}, scanner_plugins: [])
  super
end

Instance Attribute Details

#docs_excludeObject (readonly)

Returns the value of attribute docs_exclude

Returns:

  • (Object)

    the current value of docs_exclude



13
14
15
# File 'lib/varar/config.rb', line 13

def docs_exclude
  @docs_exclude
end

#docs_includeObject (readonly)

Returns the value of attribute docs_include

Returns:

  • (Object)

    the current value of docs_include



13
14
15
# File 'lib/varar/config.rb', line 13

def docs_include
  @docs_include
end

#scanner_pluginsObject (readonly)

Returns the value of attribute scanner_plugins

Returns:

  • (Object)

    the current value of scanner_plugins



13
14
15
# File 'lib/varar/config.rb', line 13

def scanner_plugins
  @scanner_plugins
end

#snippetsObject (readonly)

Returns the value of attribute snippets

Returns:

  • (Object)

    the current value of snippets



13
14
15
# File 'lib/varar/config.rb', line 13

def snippets
  @snippets
end

#stepsObject (readonly)

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



13
14
15
# File 'lib/varar/config.rb', line 13

def steps
  @steps
end