Method: Inspec.source_reader

Defined in:
lib/inspec/source_reader.rb

.source_reader(version) ⇒ Object



23
24
25
26
27
28
# File 'lib/inspec/source_reader.rb', line 23

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