Method: Inspec.source_reader

Defined in:
lib/inspec/source_reader.rb

.source_reader(version) ⇒ Object



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

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