Module: Merb::ChefServerSlice::NodesHelper

Defined in:
app/helpers/nodes_helper.rb

Instance Method Summary collapse

Instance Method Details

#recipe_list(node) ⇒ Object



23
24
25
26
27
28
29
# File 'app/helpers/nodes_helper.rb', line 23

def recipe_list(node)
  response = ""
  node.recipes.each do |recipe|
    response << "<li>#{recipe}</li>\n"
  end
  response
end