Skip to content

Commit

Permalink
main.using
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokaro committed May 29, 2024
1 parent 07bc407 commit 6a7a1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/ocran
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# -*- ruby -*-
# encoding: UTF-8
require "pathname"

require_relative "../lib/ocran/refine_pathname"
module Ocran
require_relative "../lib/ocran/refine_pathname"

using RefinePathname

IGNORE_MODULE_NAMES = /\A(enumerator.so|rational.so|complex.so|fiber.so|thread.rb|ruby2_keywords.rb)\z/
Expand Down Expand Up @@ -802,7 +802,7 @@ EOF
end
end
end # module Ocran

using Ocran::RefinePathname
if File.basename(__FILE__) == File.basename($0)
Ocran.init(ARGV)
ARGV.replace(Ocran.arg)
Expand Down

0 comments on commit 6a7a1e8

Please sign in to comment.