Sha256: 4bb51b3fd1eec54cb63a1f1f3596bc02d88cfda68dc88827756318e2621fefe9
Contents?: true
Size: 573 Bytes
Versions: 15
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true module Vedeu module Renderers # Writes the given output to a file. # class File include Vedeu::Renderers::Options # Render the output (either content or clearing) to a file. # # @return [String] def write data = content ::File.write(filename, data) data end private # @return [String] def content output end # @return [Boolean] def write_file? true end end # File end # Renderers end # Vedeu
Version data entries
15 entries across 15 versions & 1 rubygems