Method: Inspec::Resources::OSResource#params
- Defined in:
- lib/resources/os.rb
#params ⇒ Object
helper to collect a hash object easily
45 46 47 48 49 50 51 52 |
# File 'lib/resources/os.rb', line 45 def params { name: inspec.backend.os[:name], family: inspec.backend.os[:family], release: inspec.backend.os[:release], arch: inspec.backend.os[:arch], } end |