Class: Rigup::Config
- Inherits:
-
Utils::Config
- Object
- Hash
- Utils::Config
- Rigup::Config
- Defined in:
- lib/rigup/config.rb
Constant Summary collapse
- DEFAULTS =
{ :app_name => String, :user => String, :group => 'www', :site_dir => String, :git_url => String, :branch => String, :commit => String, :stage => 'live', # or 'staging' or 'development' :sudo => 'sudo', # deprecated :sudo_available => true, :block_command => nil, :install_command => 'bundle exec thor deploy:install', :restart_command => 'bundle exec thor deploy:restart', :unblock_command => nil }
Instance Attribute Summary
Attributes inherited from Utils::Config
Instance Method Summary collapse
-
#initialize(aValues = nil) ⇒ Config
constructor
A new instance of Config.
Methods inherited from Utils::Config
#copy_booleans, #copy_floats, #copy_ints, #copy_item, #copy_strings, #read, #reset, #set_boolean, #set_float, #set_int, #set_symbol, #to_hash
Constructor Details
#initialize(aValues = nil) ⇒ Config
Returns a new instance of Config.
22 23 24 |
# File 'lib/rigup/config.rb', line 22 def initialize(aValues=nil) super(DEFAULTS,aValues) end |