Class: Object

Inherits:
BasicObject
Defined in:
lib/ultrasphinx/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#_deep_dupObject



24
25
26
27
# File 'lib/ultrasphinx/core_extensions.rb', line 24

def _deep_dup
  # Cause Ruby's clone/dup sucks.
  Marshal.load(Marshal.dump(self))
end

#_metaclassObject



18
19
20
21
22
# File 'lib/ultrasphinx/core_extensions.rb', line 18

def _metaclass 
  class << self
    self
  end
end