Class: Deck::Container::Tag

Inherits:
Object
  • Object
show all
Includes:
Submodule
Defined in:
lib/deck/container/tag.rb

Instance Method Summary collapse

Methods included from Submodule

#attributes, #build_command, #get, included, #map, #set, #value

Constructor Details

#initializeTag

Returns a new instance of Tag.



7
8
9
# File 'lib/deck/container/tag.rb', line 7

def initialize
  @tag = 'latest'
end

Instance Method Details

#define(value) ⇒ Object



11
12
13
# File 'lib/deck/container/tag.rb', line 11

def define(value)
  @tag = value
end

#prepareObject



15
16
17
# File 'lib/deck/container/tag.rb', line 15

def prepare
  @tag
end