class Serverkit::Resources::Recipe
Public Instance Methods
Source
# File lib/serverkit/resources/recipe.rb, line 11 def to_a if valid? loaded_recipe.resources else self end end
@note Override
Private Instance Methods
Source
# File lib/serverkit/resources/recipe.rb, line 22 def loaded_recipe @loaded_recipe ||= Loaders::RecipeLoader.new(path, variables_path: recipe.variables_path).load end
@return [Serverkit::Recipe] Recipe
loaded from given path