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