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

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) _load(string)



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

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