Method: Info::Configuration#collect
- Defined in:
- lib/info/configuration.rb
#collect(request = nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/info/configuration.rb', line 6 def collect(request = nil) collectors.each_with_object({}) do |collector, buffer| buffer[collector[:name]] = collect_value request, collector[:value] end end |