lib/saved_assets.rb in markdown_exec-1.7 vs lib/saved_assets.rb in markdown_exec-1.8
- old
+ new
@@ -16,17 +16,15 @@
FNR12 = 'replacement_string' # TODO: Replace with actual replacement string
# Generates a formatted script name based on the provided parameters.
def self.script_name(filename:, prefix:, time:, blockname:)
fne = filename.gsub(FNR11, FNR12)
- "#{[prefix, time.strftime('%F-%H-%M-%S'), fne, ',',
- blockname].join('_')}.sh"
+ "#{[prefix, time.strftime('%F-%H-%M-%S'), fne, ',', blockname].join('_')}.sh"
end
# Generates a formatted stdout name based on the provided parameters.
def self.stdout_name(filename:, prefix:, time:, blockname:)
- "#{[prefix, time.strftime('%F-%H-%M-%S'), filename,
- blockname].join('_')}.out.txt"
+ "#{[prefix, time.strftime('%F-%H-%M-%S'), filename, blockname].join('_')}.out.txt"
end
end
end
if $PROGRAM_NAME == __FILE__