Class: Yawl::Process
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Yawl::Process
- Defined in:
- lib/yawl/process_active_record.rb
Instance Method Summary collapse
Instance Method Details
#object ⇒ Object
5 6 7 8 9 10 |
# File 'lib/yawl/process_active_record.rb', line 5 def object return unless values[:object_id] && object_type klass = object_type.constantize klass.find(values[:object_id]) end |