mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			194 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			194 B
		
	
	
	
		
			Python
		
	
	
	
	
	
WarpPreset {
 | 
						|
	*new {|path|
 | 
						|
		if(path.notNil) {
 | 
						|
			^Object.readArchive(path);
 | 
						|
		};
 | 
						|
 | 
						|
		^super.new.init();
 | 
						|
	}
 | 
						|
 | 
						|
	init {
 | 
						|
 | 
						|
	}
 | 
						|
 | 
						|
	save {
 | 
						|
		Dialog.savePanel({|path|
 | 
						|
			this.writeArchive(path);
 | 
						|
		});
 | 
						|
	}
 | 
						|
} |