Sha256: a6d16af3b3930e945816e3eb82ad368ab595a555fe8d5d960d6602e869748e9d
Contents?: true
Size: 853 Bytes
Versions: 5
Compression:
Stored size: 853 Bytes
Contents
# # Copyright (c) 2018 Patrick Thomas. All rights reserved. # # require 'cayuga' module Cayuga # noinspection RubyConstantNamingConvention RootObject = Object module Object # Cayuga Object Object class Object include Tools::Loggable attr_reader :configuration_name def self.create(factory, configuration) new(factory, configuration) end private_class_method :new private attr_reader :factory, :configuration def initialize(factory, configuration) @factory = factory @configuration = configuration @configuration_name = factory.configuration_name return if self.class == Logger factory[Logger] .log_log!(self.class, filter: Regexp.new(self.class.name)) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems