client: add each_file_info iterator
[ruby-mogilefs-client.git] / lib / mogilefs / socket.rb
blobb52ba53ec39fada655a2e27134270f2282ed1139
1 # -*- encoding: binary -*-
2 # internal implementation details here, do not rely on this in your code
3 require "mogilefs/socket_common"
4 begin
5   raise LoadError, "testing pure Ruby version" if ENV["MOGILEFS_CLIENT_PURE"]
6   require "mogilefs/socket/kgio"
7 rescue LoadError
8   require "mogilefs/socket/pure_ruby"
9 end