class QB::Docker::Image::Tag

A Docker image tag, with support for paring versions.

Public Class Methods

from_s(string) click to toggle source

@todo Document from_s method.

@param [type] arg_name

@todo Add name param description.

@return [return_type]

@todo Document return value.
# File lib/qb/docker/image/tag.rb, line 54
def self.from_s string
  new source: string
end

Public Instance Methods

dirty?() click to toggle source
# File lib/qb/docker/image/tag.rb, line 100
def dirty?
  version && version.build_dirty?
end
to_s() click to toggle source

Instance Methods

# File lib/qb/docker/image/tag.rb, line 91
def to_s
  if version
    version.docker_tag
  else
    source
  end
end