Class: Sycl::Array::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::Array is a native type.

Instance Method Summary collapse

Instance Method Details

#source_locationObject

:nodoc:



347
348
349
# File 'lib/sycl.rb', line 347

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