Method: Inspec::Lockfile.from_file
- Defined in:
- lib/inspec/dependencies/lockfile.rb
.from_file(path) ⇒ Object
26 27 28 29 |
# File 'lib/inspec/dependencies/lockfile.rb', line 26 def self.from_file(path) content = File.read(path) from_content(content) end |