Sha256: e0b79e35387f4f297c0f2061fac5125169190f939e5e55d27c86019cc92f2a0a
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true require 'delegate' require_relative 'utils/logger/console_logger' module Epuber class UserInterface < Delegator # @return [Logger::AbstractLogger] # attr_reader :logger def initialize super(nil) @logger = Logger::ConsoleLogger.new end def __getobj__ @logger end def __setobj__(obj) @logger = obj end end # shortcut UI = UserInterface.new end
Version data entries
5 entries across 5 versions & 1 rubygems