Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

[git-p4: depot-paths = "//src/flay/dev/": change = 7945]
commit 9834f2f374bfae9cb7dd05d098fc195fc6cfe963 1 parent 2247231
@zenspider zenspider authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/flay.rb
View
2  lib/flay.rb
@@ -7,7 +7,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
Please sign in to comment.
Something went wrong with that request. Please try again.