lib/blitline/function.rb in blitline-1.0.1 vs lib/blitline/function.rb in blitline-1.0.2
- old
+ new
@@ -22,11 +22,11 @@
function.add_save(image_identifier) if image_identifier
end
def validate
raise "Function must have a name" if @name.nil?
- raise "Params must be a hash" if @params && !@params.is_a(Hash)
+ raise "Params must be a hash" if @params && !@params.is_a?(Hash)
@save.validate if @save
@functions.each { |f| f.validate } if @functions
end
end
-end
\ No newline at end of file
+end