mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added a few more methods. I think we're going to have to make Group.__getattr__ return the Value holder, not its .value attribute.
This commit is contained in:
parent
d283985405
commit
da0cf9b921
@ -75,6 +75,15 @@ class Value(object):
|
|||||||
def get(self):
|
def get(self):
|
||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
|
def default(self):
|
||||||
|
return self.default
|
||||||
|
|
||||||
|
def reset(self):
|
||||||
|
self.value = self.default
|
||||||
|
|
||||||
|
def help(self):
|
||||||
|
return self.help
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return repr(self.value)
|
return repr(self.value)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user