class Serverkit::Errors::InvalidRecipeTypeError
Public Class Methods
new(type)
click to toggle source
@param [Class] type
# File lib/serverkit/errors/invalid_recipe_type_error.rb, line 7 def initialize(type) @type = type end
Public Instance Methods
to_s()
click to toggle source
# File lib/serverkit/errors/invalid_recipe_type_error.rb, line 11 def to_s "Recipe data must be a Hash, not #{@type}" end