Class: Foodtaster::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/foodtaster/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#drb_portObject

Returns the value of attribute drb_port.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def drb_port
  @drb_port
end

#log_levelObject

Returns the value of attribute log_level.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def log_level
  @log_level
end

#shutdown_vmsObject

Returns the value of attribute shutdown_vms.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def shutdown_vms
  @shutdown_vms
end

#skip_rollbackObject

Returns the value of attribute skip_rollback.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def skip_rollback
  @skip_rollback
end

#start_serverObject

Returns the value of attribute start_server.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def start_server
  @start_server
end

#vagrant_binaryObject

Returns the value of attribute vagrant_binary.



3
4
5
# File 'lib/foodtaster/config.rb', line 3

def vagrant_binary
  @vagrant_binary
end

Class Method Details

.defaultObject



6
7
8
# File 'lib/foodtaster/config.rb', line 6

def self.default
  self.new
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



10
11
12
13
# File 'lib/foodtaster/config.rb', line 10

def configure
  yield(self)
  self
end