module VCR::Cassette::Serializers::Syck
The Syck serializer. Syck is the legacy YAML engine in ruby 1.8 and 1.9.
Constants
- ENCODING_ERRORS
@private
Public Instance Methods
deserialize(string)
click to toggle source
file_extension()
click to toggle source
The file extension to use for this serializer.
@return [String] “yml”
# File lib/vcr/cassette/serializers/syck.rb, line 21 def file_extension "yml" end
Private Instance Methods
using_syck() { || ... }
click to toggle source
# File lib/vcr/cassette/serializers/syck.rb, line 47 def using_syck return yield unless defined?(::YAML::ENGINE) original_engine = ::YAML::ENGINE.yamler ::YAML::ENGINE.yamler = 'syck' begin yield ensure ::YAML::ENGINE.yamler = original_engine end end