Skip to content

Commit

Permalink
Autoload VERSION to resolve library loading issues on different Windo…
Browse files Browse the repository at this point in the history
…ws drives

- Changed the loading mechanism for the VERSION constant to autoload in order to address issues related to loading libraries located on different drives in Windows environments.
  • Loading branch information
shinokaro committed Aug 1, 2024
1 parent b885e07 commit 55960cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ocran.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require_relative "ocran/version"

module Ocran
autoload :VERSION, "ocran/version"

singleton_class.attr_accessor :option
end

0 comments on commit 55960cc

Please sign in to comment.