module YAML

Public Instance Methods

load_dj(yaml) click to toggle source
# File lib/delayed/syck_ext.rb, line 37
def load_dj(yaml)
  # See https://github.com/dtao/safe_yaml
  # When the method is there, we need to load our YAML like this...
  respond_to?(:unsafe_load) ? load(yaml, :safe => false) : load(yaml)
end