Skip to content
Snippets Groups Projects
Commit 60cd64a7 authored by Connor Atherton's avatar Connor Atherton Committed by GitHub
Browse files

Merge pull request #131 from endoze/fix-already-initialized-constant-warnings

Fix already initialized constant warnings
parents a1805706 1d4e43c8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -455,7 +455,7 @@ module Readline
 
end
 
HISTORY = History
HISTORY = History unless const_defined? :HISTORY
 
# The Fcomp class provided to encapsulate typical filename completion
# procedure. You will not typically use this directly, but will instead
Loading
Loading
@@ -483,7 +483,7 @@ module Readline
end
end
 
FILENAME_COMPLETION_PROC = Fcomp
FILENAME_COMPLETION_PROC = Fcomp unless const_defined? :FILENAME_COMPLETION_PROC
 
# The Ucomp class provided to encapsulate typical filename completion
# procedure. You will not typically use this directly, but will instead
Loading
Loading
@@ -514,13 +514,13 @@ module Readline
end
end
 
USERNAME_COMPLETION_PROC = Ucomp
USERNAME_COMPLETION_PROC = Ucomp unless const_defined? :USERNAME_COMPLETION_PROC
 
RbReadline.rl_readline_name = "Ruby"
 
RbReadline.using_history()
 
VERSION = RbReadline.rl_library_version
VERSION = RbReadline.rl_library_version unless const_defined? :VERSION
 
module_function :readline
 
Loading
Loading
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