lib/vedeu/renderers/file.rb in vedeu-0.8.0 vs lib/vedeu/renderers/file.rb in vedeu-0.8.1

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Vedeu module Renderers # Writes the given output to a file. @@ -65,13 +67,13 @@ # :timestamp option was set to true, otherwise an empty string. # # @return [Float] def timestamp if options[:timestamp] - "_#{Vedeu.clock_time}".freeze + "_#{Vedeu.clock_time}" else - ''.freeze + '' end end # Returns a boolean indicating whether a file should be written.