module Yarrow

Replacement for the legacy Hashie::Mash/Module mixin configuration pattern. This provides the same API (chaining nested attribute calls) but handles schema validation and doesn’t pollute other namespaces.

Constants

APP_NAME
VERSION

Public Class Methods

logger() click to toggle source
# File lib/yarrow/logging.rb, line 17
def logger
  @logger ||= create_logger
end
logger=(logger) click to toggle source
# File lib/yarrow/logging.rb, line 21
def logger=(logger)
  @logger = logger
end

Private Class Methods

create_logger() click to toggle source
# File lib/yarrow/logging.rb, line 27
def create_logger
  Logging::NullLogger.new
end