Module: ComplianceEngine

Defined in:
lib/compliance_engine.rb,
lib/compliance_engine/version.rb

Overview

Work with compliance data

Defined Under Namespace

Classes: CLI, Ce, Ces, Check, Checks, Collection, Component, Control, Controls, Data, DataLoader, EnvironmentLoader, Error, ModuleLoader, Profile, Profiles, Version

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.new(*paths) ⇒ ComplianceEngine::Data

Open compliance data

Parameters:

  • paths (Array<String>)

    The paths to the compliance data files

Returns:



22
23
24
# File 'lib/compliance_engine.rb', line 22

def self.new(*paths)
  Data.new(*paths)
end

.open(*paths) ⇒ ComplianceEngine::Data

Open compliance data

Parameters:

  • paths (Array<String>)

    The paths to the compliance data files

Returns:



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

def self.open(*paths)
  Data.new(*paths)
end