Sha256: 768dea610c90e2aae6c9e27767732ca3a502c213b6598f12b8d1d7319e8fa0ef

Contents?: true

Size: 177 Bytes

Versions: 3

Compression:

Stored size: 177 Bytes

Contents

class TelegramOnSteroids::InMemoryStore
  def initialize
    @store = {}
  end

  def read(key)
    @store[key]
  end

  def write(key, value)
    @store[key] = value
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram_on_steroids-0.1.2 lib/telegram_on_steroids/in_memory_store.rb
telegram_on_steroids-0.1.1 lib/telegram_on_steroids/in_memory_store.rb
telegram_on_steroids-0.1.0 lib/telegram_on_steroids/in_memory_store.rb