Module: Specjour
- Defined in:
- lib/specjour.rb,
lib/specjour/cpu.rb,
lib/specjour/rspec.rb,
lib/specjour/worker.rb,
lib/specjour/manager.rb,
lib/specjour/printer.rb,
lib/specjour/cucumber.rb,
lib/specjour/db_scrub.rb,
lib/specjour/protocol.rb,
lib/specjour/connection.rb,
lib/specjour/dispatcher.rb,
lib/specjour/rsync_daemon.rb,
lib/specjour/socket_helpers.rb,
lib/specjour/cucumber/printer.rb,
lib/specjour/rspec/final_report.rb,
lib/specjour/cucumber/dispatcher.rb,
lib/specjour/cucumber/final_report.rb,
lib/specjour/rspec/marshalable_rspec_failure.rb
Defined Under Namespace
Modules: CPU, Cucumber, DbScrub, Protocol, Rspec, SocketHelpers
Classes: Connection, Dispatcher, Error, Manager, MarshalableException, Printer, RsyncDaemon, Worker
Constant Summary
collapse
- VERSION =
"0.2.7".freeze
Class Method Summary
collapse
Class Method Details
.log? ⇒ Boolean
40
41
42
|
# File 'lib/specjour.rb', line 40
def self.log?
logger.level != Logger::UNKNOWN
end
|
.logger ⇒ Object
30
31
32
|
# File 'lib/specjour.rb', line 30
def self.logger
@logger ||= new_logger
end
|
.new_logger(level = Logger::UNKNOWN) ⇒ Object
34
35
36
37
38
|
# File 'lib/specjour.rb', line 34
def self.new_logger(level = Logger::UNKNOWN)
@logger = Logger.new $stdout
@logger.level = level
@logger
end
|