summaryrefslogtreecommitdiff
path: root/ricky/param/options.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-12-07 17:40:16 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-12-07 17:40:16 -0800
commit14ef118d2c5508d69c015f699cde5783175d8e18 (patch)
treec4c3a8dde462ac5e446d92fcc66124f193d46a4b /ricky/param/options.py
parentcd48eb7a6fd7c1e4a94846c3346d7b4cef6a6c50 (diff)
removed unused option class
Diffstat (limited to 'ricky/param/options.py')
-rw-r--r--ricky/param/options.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/ricky/param/options.py b/ricky/param/options.py
deleted file mode 100644
index dadb8f9..0000000
--- a/ricky/param/options.py
+++ /dev/null
@@ -1,28 +0,0 @@
-from ricky.param.option import Option
-
-
-class Options:
- def __init__(self, *args):
- self._values = args
-
- def __iter__(self):
- return iter(self._values)
-
- def __len__(self):
- return len(self._values)
-
- def __str__(self):
- return str(self._values)
-
- def __getitem__(self, i):
- return self._values[i]
-
- def search(self, s):
- for i in self:
- if str(s) in i.value:
- return i
-
- @classmethod
- def from_dict(cls, *args):
- options = map(lambda x: Option(**x), args)
- return cls(*options)