Class: Sycl::Hash::MockNativeType

Inherits:
Object
  • Object
show all
Defined in:
lib/sycl.rb

Overview

The Psych YAML engine has a bug that results in infinite recursion if to_yaml is over-ridden on a non-native type. So, we fake out Psych and pretend Sycl::Hash is a native type.

Instance Method Summary collapse

Instance Method Details

#source_locationObject

:nodoc:



673
674
675
# File 'lib/sycl.rb', line 673

def source_location
  ['psych/core_ext.rb']
end