Module: UUID::TemplateUUID4R
Overview
Will accept :str, :bin, :txt
Instance Method Summary collapse
Instance Method Details
#to_b ⇒ Object
12 13 14 |
# File 'lib/uuid4r-candy.rb', line 12 def to_b self.export(:bin) end |
#to_s ⇒ Object
9 10 11 |
# File 'lib/uuid4r-candy.rb', line 9 def to_s self.export(:str) end |
#to_txt ⇒ Object
15 16 17 |
# File 'lib/uuid4r-candy.rb', line 15 def to_txt self.export(:txt) end |