File: yaml_ext.rb

package info (click to toggle)
ruby-delayed-job 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: ruby: 2,780; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
# These extensions allow properly serializing and autoloading of
# Classes, Modules and Structs

require 'yaml'
if YAML.parser.class.name =~ /syck|yecht/i
  require File.expand_path('../syck_ext', __FILE__)
  require File.expand_path('../serialization/active_record', __FILE__)
else
  require File.expand_path('../psych_ext', __FILE__)
end