Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding trim option to ERB, closes #840

  • Loading branch information...
commit 3874756821fd938571b7bac23e91874fdfe99b2e 1 parent 0bc9a97
@hron84 hron84 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rspec/core/configuration_options.rb
View
2  lib/rspec/core/configuration_options.rb
@@ -116,7 +116,7 @@ def args_from_options_file(path)
end
def options_file_as_erb_string(path)
- ERB.new(File.read(path)).result(binding)
+ ERB.new(File.read(path), nil, '-').result(binding)
end
def custom_options_file
Please sign in to comment.
Something went wrong with that request. Please try again.