Class: Chef::RunList

Inherits:
Object show all
Defined in:
lib/chef/knife/chop/chef_part.rb

Overview

Defined Under Namespace

Classes: RunListItem

Instance Method Summary collapse

Instance Method Details

#to_rbObject



30
31
32
33
34
35
# File 'lib/chef/knife/chop/chef_part.rb', line 30

def to_rb
  items = @run_list_items.map{|i|
    i.to_rb
  }
  "[ #{items.join(",\n")} ]"
end