lib/nephophobia/image.rb in nephophobia-0.0.2 vs lib/nephophobia/image.rb in nephophobia-0.0.3
- old
+ new
@@ -42,11 +42,11 @@
ImageData.new data
end
end
##
- # Returns information about the specified 'image_id'.
+ # Returns information about the given 'image_id'.
#
# +image_id+: A String representing the ID of the image.
def find image_id
filter = {
@@ -67,10 +67,10 @@
end
end
private
##
- # images which do not have a valid kernel_id are not runnable.
+ # Images which do not have a valid kernel_id are not runnable.
def public? image
image.is_public == "true" && image.kernel_id != "true"
end
end