mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +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):
 | 
			
		||||
        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):
 | 
			
		||||
        return repr(self.value)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user