Method: Inspec::Resources::PConfig#params
- Defined in:
- lib/resources/parse_config.rb
#params(*opts) ⇒ Object
59 60 61 62 63 |
# File 'lib/resources/parse_config.rb', line 59 def params(*opts) opts.inject(read_params) do |res, nxt| res.respond_to?(:key) ? res[nxt] : nil end end |