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