Module: Braai

Defined in:
lib/braai.rb,
lib/braai/helpers.rb,
lib/braai/version.rb,
lib/braai/handlers.rb

Defined Under Namespace

Modules: Handlers, Helpers, Matchers Classes: Configuration, Context, Template

Constant Summary collapse

VERSION =
"1.6.2"

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object

Yields:



15
16
17
18
19
# File 'lib/braai.rb', line 15

def config
  @config ||= Braai::Configuration.new
  yield @config if block_given?
  return @config
end

.loggerObject



21
22
23
# File 'lib/braai.rb', line 21

def logger
  self.config.logger
end