class Cucumber::Cli::ProfileLoader
def cucumber_yml
def cucumber_yml return @cucumber_yml if @cucumber_yml ensure_configuration_file_exists process_configuration_file_with_erb load_configuration if @cucumber_yml.nil? || !@cucumber_yml.is_a?(Hash) raise(YmlLoadError, 'cucumber.yml was found, but was blank or malformed. ' \ "Please refer to cucumber's documentation on correct profile usage.\n") end @cucumber_yml end