Skip to content

Commit

Permalink
require ostruct in case other gems are not doing so (#2725)
Browse files Browse the repository at this point in the history
this avoids getting the error:
NameError: uninitialized constant OpenStruct
  • Loading branch information
jpawlyn authored May 7, 2024
1 parent ce18bb7 commit c21eb5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/avo/menu/menu.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
require "ostruct"

class Avo::Menu::Menu < OpenStruct
end

0 comments on commit c21eb5f

Please sign in to comment.