Skip to content
Snippets Groups Projects
Commit 8fbcabb3 authored by inertia's avatar inertia
Browse files

support for ruby-2.7 and ruby-3.0

parent 03b88cfc
No related branches found
No related tags found
No related merge requests found
Pipeline #50347 canceled
......@@ -84,7 +84,7 @@ module Hive
super unless const.to_s.end_with? 'Api'
api = api_classes[const]
api ||= Api.clone(freeze: true) rescue Api.clone
api ||= Api.clone(freeze: false) rescue Api.clone
api.api_name = const
api_classes[const] = api
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment