def __init__(self, ioObj=None):
        """ Instantiate a Slurp object
        
        Example:
        
        obj = Slurp(open('/etc/fstab', 'r'))
        # This will work for sockets and FIFO's as well
        
        """
        if ioObj != None:
            self.ioObj    = ioObj
            self.triggers = []
        else:
            raise InvalidArgument("A valid I/O object (file, socket, fifo) is required.\n")
 Instantiate a Slurp object
        
        Example:
        
        obj = Slurp(open('/etc/fstab', 'r'))
        # This will work for sockets and FIFO's as well
        
        
recipes/Python/578532_slurppy_Regex_based_simple_parsing/recipe-578532.py