Sha256: c488a1e4bff731df2166824be3da72dedd2ee1717851b5a10b07fe4b61e76e37

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'fathom'))
require 'uuid'

module Fathom
  module EnforcedName
    def initialize(opts={})
      super(opts)
      @name ||= UUID.generate
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fathom-0.3.0 lib/fathom/enforced_name.rb
fathom-0.2.3 lib/fathom/enforced_name.rb