Skip to content

Instantly share code, notes, and snippets.

View spenceralan's full-sized avatar
🦄

Spencer Alan spenceralan

🦄
View GitHub Profile
@spenceralan
spenceralan / challenge.rb
Last active April 25, 2019 22:33
Opal CoderPad Challenge
require 'minitest/autorun'
#The commands available are:
# SET <key> <value> // store the value for key
# GET <key> // return the current value for key
# DELETE <key> // remove the entry for key
# COUNT <value> // return the number of keys that have the given value
# BEGIN // start a transaction
# COMMIT // commit all transactions
# ROLLBACK // rollback current transaction

Keybase proof

I hereby claim:

  • I am spenceralan on github.
  • I am spenceralan (https://keybase.io/spenceralan) on keybase.
  • I have a public key ASB-q5g69C3_j1XcIYy2cUhT8BZFBtPaOiCRnPzs_Av2Dgo

To claim this, I am signing this object: