Comment and separate default options.
This commit is contained in:
parent
6cb77153d4
commit
c9d44ba5e7
1 changed files with 3 additions and 0 deletions
|
@ -17,8 +17,11 @@ module Middleman
|
||||||
options = Options.new(options_hash)
|
options = Options.new(options_hash)
|
||||||
yield options if block_given?
|
yield options if block_given?
|
||||||
|
|
||||||
|
# Default options for the rsync method.
|
||||||
options.port ||= 22
|
options.port ||= 22
|
||||||
options.clean ||= false
|
options.clean ||= false
|
||||||
|
|
||||||
|
# Default options for the git method.
|
||||||
options.remote ||= "origin"
|
options.remote ||= "origin"
|
||||||
options.branch ||= "gh-pages"
|
options.branch ||= "gh-pages"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue