lib/vedeu/distributed/subprocess.rb in vedeu-0.8.0 vs lib/vedeu/distributed/subprocess.rb in vedeu-0.8.1

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Vedeu module Distributed # @example @@ -57,11 +59,11 @@ private # @return [String] def command - "ruby #{file_path}".freeze + "ruby #{file_path}" end # @return [Fixnum] The number of bytes written. def file_write file.write(application) @@ -88,10 +90,10 @@ end alias_method :file, :file_open # @return [String] def file_name - "/tmp/foo_#{timestamp}".freeze + "/tmp/foo_#{timestamp}" end # return [Fixnum] def timestamp @timestamp ||= Time.now.to_i