Class: Sycl::Array::MockNativeType
- Inherits:
-
Object
- Object
- Sycl::Array::MockNativeType
- 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
-
#source_location ⇒ Object
:nodoc:.
Instance Method Details
#source_location ⇒ Object
:nodoc:
351 352 353 |
# File 'lib/sycl.rb', line 351 def source_location ['psych/core_ext.rb'] end |