Method: Inspec::Resources::RabbitmqConf#params
- Defined in:
- lib/resources/rabbitmq_conf.rb
#params(*opts) ⇒ Object
26 27 28 29 30 |
# File 'lib/resources/rabbitmq_conf.rb', line 26 def params(*opts) opts.inject(read_params) do |res, nxt| res.respond_to?(:key) ? res[nxt] : nil end end |