Permalink
Browse files

- Avoid redefined warning for File::RUBY19. (svendahlstrand)

[git-p4: depot-paths = "//src/flog/dev/": change = 7942]
  • Loading branch information...
1 parent 429e621 commit 25916a5a94bcb047f5237982517b83b5579993b5 @zenspider zenspider committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/flog.rb
View
@@ -5,7 +5,7 @@
require 'timeout'
class File
- RUBY19 = "<3".respond_to? :encoding
+ RUBY19 = "<3".respond_to? :encoding unless defined? RUBY19
class << self
alias :binread :read unless RUBY19

0 comments on commit 25916a5

Please sign in to comment.