Class: Coral::Core
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#ui ⇒ Object
—————————————————————————– Accessor / Modifiers.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data = {}, defaults = {}, force = true) ⇒ Core
constructor
—————————————————————————– Constructor / Destructor.
-
#inspect ⇒ Object
—.
-
#logger ⇒ Object
—.
Methods inherited from Config
#[], #[]=, array, #array, #clear, #defaults, #delete, ensure, #export, filter, #filter, #get, #get_array, #get_hash, #hash, hash, #import, #init, init, init_flat, #set, string, #string, #string_map, string_map, symbol, #symbol, #symbol_map, symbol_map, test, #test
Methods included from Mixin::ConfigOptions
#clear_options, #contexts, #get_options, #set_options
Methods included from Mixin::ConfigCollection
#all_properties, #clear_properties, #delete_property, #get_property, #save_properties, #set_property
Methods included from Mixin::Lookup
#hiera, #hiera_config, #initialized?, #lookup, #lookup_array, #lookup_hash, #normalize
Methods included from Mixin::ConfigOps
Constructor Details
Instance Attribute Details
#ui ⇒ Object
Accessor / Modifiers
28 29 30 |
# File 'lib/coral_core/core.rb', line 28 def ui @ui end |
Class Method Details
.logger ⇒ Object
38 39 40 |
# File 'lib/coral_core/core.rb', line 38 def self.logger return @@ui.logger end |
.logger=(logger) ⇒ Object
44 45 46 |
# File 'lib/coral_core/core.rb', line 44 def self.logger=logger self.class.logger = logger end |
.ui ⇒ Object
32 33 34 |
# File 'lib/coral_core/core.rb', line 32 def self.ui return @@ui end |
Instance Method Details
#inspect ⇒ Object
21 22 23 |
# File 'lib/coral_core/core.rb', line 21 def inspect "#<#{self.class}: >" end |
#logger ⇒ Object
50 51 52 |
# File 'lib/coral_core/core.rb', line 50 def logger return self.class.logger end |