lib/shelly.rb in shelly-0.0.38 vs lib/shelly.rb in shelly-0.0.39
- old
+ new
@@ -1,10 +1,12 @@
require "rubygems"
require "core_ext/object"
require "core_ext/hash"
require "yaml"
-YAML::ENGINE.yamler = "syck"
+if YAML.const_defined?(:ENGINE)
+ YAML::ENGINE.yamler = 'syck'
+end
require "shelly/helpers"
require "shelly/model"
module Shelly