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



444
445
446
# File 'lib/sycl.rb', line 444

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