9 10 11
# File 'lib/crimson/utilities.rb', line 9 def self.deep_copy(o) Marshal.load(Marshal.dump(o)) end
5 6 7
# File 'lib/crimson/utilities.rb', line 5 def self.generate_id (Time.now.to_f * 100_000_000.0).to_i end