Method: Inspec::Resources::SshConf#params
- Defined in:
- lib/resources/ssh_conf.rb
#params(*opts) ⇒ Object
33 34 35 36 37 |
# File 'lib/resources/ssh_conf.rb', line 33 def params(*opts) opts.inject(read_params) do |res, nxt| res.respond_to?(:key) ? res[nxt] : nil end end |