Class: Deck::Container::Tag
- Inherits:
-
Object
- Object
- Deck::Container::Tag
- Includes:
- Submodule
- Defined in:
- lib/deck/container/tag.rb
Instance Method Summary collapse
- #define(value) ⇒ Object
-
#initialize ⇒ Tag
constructor
A new instance of Tag.
- #prepare ⇒ Object
Methods included from Submodule
#attributes, #build_command, #get, included, #map, #set, #value
Constructor Details
#initialize ⇒ Tag
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 |
#prepare ⇒ Object
15 16 17 |
# File 'lib/deck/container/tag.rb', line 15 def prepare @tag end |