Class: KnifeSpork::SporkInfo

Inherits:
Chef::Knife
  • Object
show all
Defined in:
lib/chef/knife/spork-info.rb

Instance Method Summary collapse

Instance Method Details

#runObject



13
14
15
16
17
18
19
20
# File 'lib/chef/knife/spork-info.rb', line 13

def run
  self.class.send(:include, KnifeSpork::Runner)
  self.config = Chef::Config.merge!(config)

  run_plugins(:before_info)
  info
  run_plugins(:after_info)
end