Sha256: 8d25e382dccfcf9c62a44e017a3084639ea63ae45ebcb9544c2aac920636020c

Contents?: true

Size: 230 Bytes

Versions: 7

Compression:

Stored size: 230 Bytes

Contents

class Roro::Crypto::FileWriter < Thor
  include Thor::Actions

  no_commands do 

    def write_to_file(filename, content)
      create_file filename, content
    end

    def interpolated_path
      @env[:story]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/crypto/file_writer.rb
roro-0.3.30 lib/roro/crypto/file_writer.rb
roro-0.3.28 lib/roro/crypto/file_writer.rb
roro-0.3.27 lib/roro/crypto/file_writer.rb
roro-0.3.25 lib/roro/crypto/file_writer.rb
roro-0.3.24 lib/roro/crypto/file_writer.rb
roro-0.3.23 lib/roro/crypto/file_writer.rb