Method: Inspec.source_reader

Defined in:
lib/inspec/source_reader.rb

.source_reader(version) ⇒ Object



19
20
21
22
23
24
# File 'lib/inspec/source_reader.rb', line 19

def self.source_reader(version)
  if version != 1
    raise 'Only source readers version 1 is supported!'
  end
  Inspec::Plugins::SourceReader
end