Module: Everything
- Defined in:
- lib/everything.rb,
lib/everything/piece.rb,
lib/everything/logger.rb,
lib/everything/version.rb,
lib/everything/logger/base.rb,
lib/everything/logger/debug.rb,
lib/everything/logger/error.rb,
lib/everything/logger/log_it.rb,
lib/everything/piece/content.rb,
lib/everything/logger/verbose.rb,
lib/everything/piece/metadata.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.0.13'
Class Method Summary collapse
Class Method Details
.default_logger ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/everything/logger.rb', line 17 def self.default_logger ::Logger.new( $stdout, level: ::Logger::ERROR, progname: self.class.to_s ) end |
.logger ⇒ Object
9 10 11 |
# File 'lib/everything/logger.rb', line 9 def self.logger @logger ||= default_logger end |
.logger=(value) ⇒ Object
13 14 15 |
# File 'lib/everything/logger.rb', line 13 def self.logger=(value) @logger = value end |
.path ⇒ Object
11 12 13 |
# File 'lib/everything.rb', line 11 def self.path Pathname.new(Fastenv.everything_path) end |