Exception: Kuby::Docker::MissingTagError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kuby/docker/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag) ⇒ MissingTagError

Returns a new instance of MissingTagError.



9
10
11
# File 'lib/kuby/docker/errors.rb', line 9

def initialize(tag)
  @tag = tag
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



7
8
9
# File 'lib/kuby/docker/errors.rb', line 7

def tag
  @tag
end

Instance Method Details

#messageObject



13
14
15
# File 'lib/kuby/docker/errors.rb', line 13

def message
  @message ||= "Could not find tag '#{tag}'."
end