Module: TorqueBox::Messaging::DataMapper::ClassMethods Private

Defined in:
lib/torquebox/messaging/datamapper_marshaling.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#_load(string) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



36
37
38
39
# File 'lib/torquebox/messaging/datamapper_marshaling.rb', line 36

def _load( string )
  id, clazz = string.split(':')
  Kernel.const_get(clazz).get(id)
end