class RRRSpec::Server::ServerConfiguration
Attributes
daemonize[RW]
execute_log_text_path[RW]
monitor[RW]
persistence_db[RW]
pidfile[RW]
stderr_path[RW]
stdout_path[RW]
user[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/rrrspec/server/configuration.rb, line 12 def initialize super() @type = :server end
Public Instance Methods
check_validity()
click to toggle source
Calls superclass method
# File lib/rrrspec/server/configuration.rb, line 17 def check_validity validity = super unless execute_log_text_path $stderr.puts('The path to save the log text should be set') validity = false end unless persistence_db $stderr.puts('The database options are not set') validity = false end validity end