Class: Zack::UniqueName

Inherits:
Object
  • Object
show all
Defined in:
lib/zack/unique_name.rb

Overview

A UUID based unique name based on base_name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base_name) ⇒ UniqueName

Returns a new instance of UniqueName.



6
7
8
# File 'lib/zack/unique_name.rb', line 6

def initialize(base_name)
  @name = unique_tube_name(base_name)
end

Instance Attribute Details

#nameObject (readonly) Also known as: to_s

Returns the value of attribute name.



10
11
12
# File 'lib/zack/unique_name.rb', line 10

def name
  @name
end