Method: ROM::Session::Tracker#fetch

Defined in:
lib/rom/session/tracker.rb

#fetch(object) ⇒ 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.



24
25
26
# File 'lib/rom/session/tracker.rb', line 24

def fetch(object)
  @objects.fetch(object.__id__) { raise ObjectNotTrackedError, object }
end