class Cucumber::Configuration
The base class for configuring settings for a Cucumber run.
def self.default
def self.default new end
def self.parse(argument)
def self.parse(argument) return new(argument) if argument.is_a?(Hash) argument end
def autoload_code_paths
def autoload_code_paths @options[:autoload_code_paths] end
def default_options
def default_options { :autoload_code_paths => ['features/support', 'features/step_definitions'] } end
def dry_run?
def dry_run? @options[:dry_run] end
def expand?
def expand? @options[:expand] end
def guess?
def guess? @options[:guess] end
def initialize(user_options = {})
def initialize(user_options = {}) @options = default_options.merge(user_options) end
def paths
def paths @options[:paths] end
def strict?
def strict? @options[:strict] end