class Foodtaster::Config
Attributes
drb_port[RW]
log_level[RW]
shutdown_vms[RW]
skip_rollback[RW]
start_server[RW]
vagrant_binary[RW]
Public Class Methods
default()
click to toggle source
# File lib/foodtaster/config.rb, line 6 def self.default self.new end
new()
click to toggle source
# File lib/foodtaster/config.rb, line 17 def initialize @log_level = :warn @drb_port = 35672 @vagrant_binary = 'vagrant' @shutdown_vms = false @skip_rollback = false @start_server = true end
Public Instance Methods
configure() { |self| ... }
click to toggle source
# File lib/foodtaster/config.rb, line 10 def configure yield(self) self end