lib/oj/mimic.rb in oj-3.16.4 vs lib/oj/mimic.rb in oj-3.16.5
- old
+ new
@@ -1,12 +1,8 @@
# frozen_string_literal: false
require 'bigdecimal'
-begin
- require 'ostruct'
-rescue Exception
- # ignore
-end
+require 'ostruct'
module Oj
##
# Custom mode can be used to emulate the compat mode with some minor