Sha256: a1d434a1b26e5b5a28614eba6afe98d66b7a696f8957f548bf3f0ad3c4e69294
Contents?: true
Size: 858 Bytes
Versions: 3
Compression:
Stored size: 858 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.stringify)) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cayuga-0.0.13 | lib/cayuga/object/object.rb |
cayuga-0.0.12 | lib/cayuga/object/object.rb |
cayuga-0.0.11 | lib/cayuga/object/object.rb |