Class: Sequel::Model
- Inherits:
-
Object
- Object
- Sequel::Model
- Defined in:
- lib/delayed/serialization/sequel.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.yaml_new(klass, tag, val) ⇒ Object
4 5 6 7 8 |
# File 'lib/delayed/serialization/sequel.rb', line 4 def self.yaml_new(klass, tag, val) obj = klass[val['values'][:id]] raise DeserializationError if obj.nil? obj end |
Instance Method Details
#to_yaml_properties ⇒ Object
10 11 12 |
# File 'lib/delayed/serialization/sequel.rb', line 10 def to_yaml_properties ['@values'] end |