Method: RSCM::Monotone#initialize
- Defined in:
- lib/rscm/scm/monotone.rb
#initialize(branch = nil, key = nil, passphrase = nil, keys_file = nil, server = nil, central_checkout_dir = nil) ⇒ Monotone
Returns a new instance of Monotone.
14 15 16 17 18 19 20 21 |
# File 'lib/rscm/scm/monotone.rb', line 14 def initialize(branch=nil, key=nil, passphrase=nil, keys_file=nil, server=nil, central_checkout_dir=nil) @branch = branch @key = key @passphrase = passphrase @keys_file = keys_file @server = server @central_checkout_dir = File.(central_checkout_dir) unless central_checkout_dir.nil? end |