diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-01-31 10:50:06 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-01-31 14:56:00 +0900 |
commit | 7c8f9603b1dcacb7f04b559dadac905e167a5cc1 (patch) | |
tree | e87e1d3f180bef71bf59973088ae87acb44f5029 /test/json/json_generic_object_test.rb | |
parent | f3df218f48571a7ff1479a33691fdb83db1da7ea (diff) |
[flori/json] Make OpenStruct support as optional
https://github.com/flori/json/commit/202ffe2335
Diffstat (limited to 'test/json/json_generic_object_test.rb')
-rw-r--r-- | test/json/json_generic_object_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_generic_object_test.rb b/test/json/json_generic_object_test.rb index c4d391208c..d6d7e30816 100644 --- a/test/json/json_generic_object_test.rb +++ b/test/json/json_generic_object_test.rb @@ -79,4 +79,4 @@ class JSONGenericObjectTest < Test::Unit::TestCase ensure JSON::GenericObject.json_creatable = false end -end +end if defined?(JSON::GenericObject) |