Class: Foodtaster::Config
- Inherits:
-
Object
- Object
- Foodtaster::Config
- Defined in:
- lib/foodtaster/config.rb
Instance Attribute Summary collapse
-
#drb_port ⇒ Object
Returns the value of attribute drb_port.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#shutdown_vms ⇒ Object
Returns the value of attribute shutdown_vms.
-
#skip_rollback ⇒ Object
Returns the value of attribute skip_rollback.
-
#start_server ⇒ Object
Returns the value of attribute start_server.
-
#vagrant_binary ⇒ Object
Returns the value of attribute vagrant_binary.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#drb_port ⇒ Object
Returns the value of attribute drb_port.
3 4 5 |
# File 'lib/foodtaster/config.rb', line 3 def drb_port @drb_port end |
#log_level ⇒ Object
Returns the value of attribute log_level.
3 4 5 |
# File 'lib/foodtaster/config.rb', line 3 def log_level @log_level end |
#shutdown_vms ⇒ Object
Returns the value of attribute shutdown_vms.
3 4 5 |
# File 'lib/foodtaster/config.rb', line 3 def shutdown_vms @shutdown_vms end |
#skip_rollback ⇒ Object
Returns the value of attribute skip_rollback.
3 4 5 |
# File 'lib/foodtaster/config.rb', line 3 def skip_rollback @skip_rollback end |
#start_server ⇒ Object
Returns the value of attribute start_server.
3 4 5 |
# File 'lib/foodtaster/config.rb', line 3 def start_server @start_server end |
#vagrant_binary ⇒ Object
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
.default ⇒ Object
6 7 8 |
# File 'lib/foodtaster/config.rb', line 6 def self.default self.new end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
10 11 12 13 |
# File 'lib/foodtaster/config.rb', line 10 def configure yield(self) self end |