class Cucumber::Cli::ProfileLoader

def process_configuration_file_with_erb

def process_configuration_file_with_erb
  require 'erb'
  begin
    @cucumber_erb = ERB.new(IO.read(cucumber_file), trim_mode: '%').result(binding)
  rescue StandardError
    raise(YmlLoadError, "cucumber.yml was found, but could not be parsed with ERB.  Please refer to cucumber's documentation on correct profile usage.\n#{$ERROR_INFO.inspect}")
  end
end