Method: Wordlist::Compression::Writer.open
- Defined in:
- lib/wordlist/compression/writer.rb
.open(path, **kwargs) ⇒ IO
Opens the compressed wordlist for reading.
69 70 71 72 73 74 75 76 77 |
# File 'lib/wordlist/compression/writer.rb', line 69 def self.open(path,**kwargs) command = self.command(path,**kwargs) begin IO.popen(command,'w') rescue Errno::ENOENT raise(CommandNotFound,"#{command.inspect} command not found") end end |