Sha256: da2aa827a9220bf26b57c3957f58713d739ea071734af80aca0368cf1761c9a9

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 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

6 entries across 6 versions & 1 rubygems

Version Path
fathom-0.3.7 lib/fathom/node/node_extensions/enforced_name.rb
fathom-0.3.6 lib/fathom/node/node_extensions/enforced_name.rb
fathom-0.3.4 lib/fathom/node/node_extensions/enforced_name.rb
fathom-0.3.3 lib/fathom/node/node_extensions/enforced_name.rb
fathom-0.3.2 lib/fathom/node/node_extensions/enforced_name.rb
fathom-0.3.1 lib/fathom/node/node_extensions/enforced_name.rb