Module: FluQ
- Defined in:
- lib/fluq.rb,
lib/fluq/cli.rb,
lib/fluq/version.rb
Defined Under Namespace
Modules: DSL, Format, Handler, Input, Mixins, Testing, URL
Classes: CLI, Error, Event, Feed, Runner, Worker
Constant Summary
collapse
- VERSION =
"0.8.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.root ⇒ Object
28
29
30
|
# File 'lib/fluq.rb', line 28
def root
@root
end
|
Class Method Details
.init! ⇒ Object
40
41
42
43
44
45
46
47
|
# File 'lib/fluq.rb', line 40
def init!
@root = Pathname.new(ENV['FLUQ_ROOT'] || ".")
self.logger = ::Logger.new(STDOUT)
logger.level = ::Logger::INFO
end
|
.logger ⇒ Logger
Returns the thread-safe logger instance.
36
37
38
|
# File 'lib/fluq.rb', line 36
def logger
Celluloid.logger
end
|
.logger=(logger) ⇒ Object
31
32
33
|
# File 'lib/fluq.rb', line 31
def logger=(logger)
Celluloid.logger = logger
end
|