Sha256: be640a7d5f9f5a2f096798cf088460f79298cce1927c8293593ce421df167714

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

module Asynchronic
  module DataStore
    class Key < String
    
      def initialize(key)
        super key.to_s
      end

      def [](key)
        self.class.new "#{self}:#{key}"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asynchronic-0.1.0 lib/asynchronic/data_store/key.rb