Skip to content

Commit

Permalink
Add missing require for Psych::Nodes
Browse files Browse the repository at this point in the history
This resolves an issue where you would get uninitialized constant
Psych::Nodes (NameError) when running with newer version of Psych.

Fixes dtao#72
  • Loading branch information
Prem Sichanugrist committed Feb 25, 2015
1 parent 4c420f6 commit c6e046c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/safe_yaml/psych_resolver.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "psych/nodes"

module SafeYAML
class PsychResolver < Resolver
NODE_TYPES = {
Expand Down

0 comments on commit c6e046c

Please sign in to comment.