Sha256: f1364ba5da61064bfcd8944d947cd61ae7f9dcd3e9d3376f44cb85f7f6ea3112

Contents?: true

Size: 335 Bytes

Versions: 12

Compression:

Stored size: 335 Bytes

Contents

class Riak::Client::BeefcakeProtobuffsBackend
  class CrdtLoader
    class SetLoader
      def self.for_value(resp)
        return nil unless resp.set_value
        new resp.set_value
      end

      def initialize(set_value)
        @value = set_value
      end

      def rubyfy
        ::Set.new @value
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
riak-client-2.6.0 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.5.0 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.4.1 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.4.0 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.4.0.pre1 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.3.2 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.3.1 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.3.0 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.2.2 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.2.1 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-noenc-1.0.0 lib/riak/client/beefcake/crdt/set_loader.rb
riak-client-2.2.0 lib/riak/client/beefcake/crdt/set_loader.rb