summaryrefslogtreecommitdiff
path: root/lib/infrastructure/simple_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/infrastructure/simple_context.rb')
-rw-r--r--lib/infrastructure/simple_context.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/infrastructure/simple_context.rb b/lib/infrastructure/simple_context.rb
deleted file mode 100644
index 01e1580..0000000
--- a/lib/infrastructure/simple_context.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-class SimpleContext
- def initialize(store = {})
- @store = store
- end
-
- def add(key, value)
- key.add_to(@store, value)
- end
-
- def remove(key)
- key.remove_from(@store)
- end
-
- def contains?(key)
- key.contained_in?(@store)
- end
-
- def item_for(key)
- key.item_from(@store)
- end
-end