Method: Inspec::Plugin::V2::ConfigFile#each

Defined in:
lib/inspec/plugin/v2/config_file.rb

#each(&block) ⇒ Object

Implement Enumerable. All Enumerable methds act on the plugins list, and yield Hashes that represent an entry.



26
27
28
# File 'lib/inspec/plugin/v2/config_file.rb', line 26

def each(&block)
  @data[:plugins].each(&block)
end