Module: CheckAhead

Defined in:
lib/check-ahead.rb,
lib/cli/commands.rb,
lib/check-ahead/cli.rb,
lib/check-ahead/version.rb,
lib/check-ahead/configuration.rb

Defined Under Namespace

Modules: CLI Classes: Configuration

Constant Summary collapse

VERSION =
'0.2.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



34
35
36
# File 'lib/check-ahead/configuration.rb', line 34

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



38
39
40
# File 'lib/check-ahead/configuration.rb', line 38

def configure
  yield configuration
end

.included(_base) ⇒ Object



15
16
17
# File 'lib/check-ahead.rb', line 15

def included(_base)
  load_tasks
end

.load_tasksObject



11
12
13
# File 'lib/check-ahead.rb', line 11

def load_tasks
  Dir["#{File.dirname(__dir__)}/lib/tasks/**/*.rake"].each { |file| load file }
end