Class: Aruba::Initializers::FailingInitializer

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/initializer.rb

Overview

Default Initializer

This handles invalid values for initializer.

Class Method Summary collapse

Class Method Details

.match?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/aruba/initializer.rb', line 52

def match?(*)
  true
end

.startObject

Raises:

  • (ArgumentError)


56
57
58
59
# File 'lib/aruba/initializer.rb', line 56

def start(*)
  raise ArgumentError,
        %(Unknown test framework. Please use one of :rspec, :cucumber or :minitest)
end