Method: Inspec.source_reader

Defined in:
lib/inspec/source_reader.rb

.source_reader(version) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/inspec/source_reader.rb', line 16

def self.source_reader(version)
  if version != 1
    raise "Only source readers version 1 is supported!"
  end

  Inspec::Plugins::SourceReader
end