Skip to content

Commit

Permalink
Set yaml engine only if ruby is greater than 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Miller committed Sep 8, 2011
1 parent 224bcda commit 5bc0c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slurper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'yaml'
require 'story'
YAML::ENGINE.yamler='syck'
YAML::ENGINE.yamler='syck' if RUBY_VERSION > '1.9'


class Slurper
Expand Down

0 comments on commit 5bc0c40

Please sign in to comment.