Class: Quke::Quke

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

Overview

The main Quke class. It is not intended to be instantiated and instead just need to call its execute method.

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Class level attribute which holds the instance of Quke::Configuration used for the current execution of Quke.



25
26
27
# File 'lib/quke.rb', line 25

def config
  @config
end

Class Method Details

.execute(args = []) ⇒ Object

The entry point for Quke, it is the one call made by exe/quke.



29
30
31
32
# File 'lib/quke.rb', line 29

def self.execute(args = [])
  cuke = CukeRunner.new(args)
  cuke.run
end