Is there a better way to redefine the ::Trilogy
constant?
#2
Labels
help wanted
Extra attention is needed
::Trilogy
constant?
#2
When loading the
TrilogyAurora
module, the following warnings appear:This is clearly caused by this code:
trilogy_aurora/lib/trilogy_aurora.rb
Lines 104 to 105 in 8f7b5de
We are redefining
::Trilogy
to a different class, namelyTrilogyAurora::Trilogy
.Is there a better way of doing this that doesn't trigger these warnings?
Alternatively, should we be extending the functionality of the
Trilogy
class in a completely different way?The text was updated successfully, but these errors were encountered: