lib/syck.rb in rubysl-yaml-2.0.2 vs lib/syck.rb in rubysl-yaml-2.0.3

- old
+ new

@@ -443,9 +443,16 @@ DateTime.parse(str).to_time rescue ArgumentError # nothing end end + + #-- + # For Rubinius, replaces 'rb_require("data")' because that is hard-coded + # to use Kernel.require, so RubyGems #require override isn't invoked. + def self.require_data + require "date" + end end module Kernel # # ryan:: You know how Kernel.p is a really convenient way to dump ruby