Method: Leeloo::GpgLocalFileSystemSecret#write
- Defined in:
- lib/leeloo/secret.rb
#write(phrase) ⇒ Object
78 79 80 81 82 83 |
# File 'lib/leeloo/secret.rb', line 78 def write phrase FileUtils.mkdir_p File.dirname @pathname @crypto.encrypt phrase, :output => File.open(@pathname,"w+"), :recipients => @recipients end |