Method: Inspec::Control#initialize

Defined in:
lib/inspec/objects/control.rb

#initializeControl

Returns a new instance of Control.



9
10
11
12
13
14
15
16
# File 'lib/inspec/objects/control.rb', line 9

def initialize
  @tests = []
  @tags = []
  @refs = []
  @descriptions = {}

  Inspec.deprecate(:object_classes, "The Inspec::Control class is deprecated. Use the Inspec::Object::Control class from the inspec-objects Ruby library.")
end