Method: Inspec::Backend::Base#version

Defined in:
lib/inspec/backend.rb

#versionString

Provide a shorthand to retrieve the inspec version from within a profile

Returns:

  • (String)

    inspec version



16
17
18
# File 'lib/inspec/backend.rb', line 16

def version
  Inspec::VERSION
end