Method: Frank::Publish::Base#initialize
- Defined in:
- lib/frank/publish/base.rb
#initialize(options) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 17 18 |
# File 'lib/frank/publish/base.rb', line 11 def initialize() @username = .user || .username @password = .password @hostname = .host @remote_path = .path @port = .port @local_path = "/tmp/frank-publish-#{Frank.proj_name}-#{Time.now.to_i}" end |