lib/henry/container.rb in henry-container-0.0.13 vs lib/henry/container.rb in henry-container-0.0.14
- old
+ new
@@ -48,17 +48,17 @@
# Returns the input file path based on the given options.
#
# @return [String] the input file path.
def input_file_path
- "#{@opts[:"in-dir"]}#{@opts[:in]}"
+ "#{@opts[:"in-dir"]}/#{@opts[:in]}"
end
# Returns the output file path based on the given options.
#
# @return [String] the output file path.
def output_file_path
- "#{@opts[:"out-dir"]}#{@opts[:out]}"
+ "#{@opts[:"out-dir"]}/#{@opts[:out]}"
end
# Executes required validations before execution.
def before_execution
unless File.exists?(self.input_file_path)