Class: Net::SFTP::Session
- Inherits:
-
Object
- Object
- Net::SFTP::Session
- Defined in:
- lib/core/transports.rb
Overview
Monkeypatching: SFTP never defines the mkdir method on its session or the underlying driver, it just redirect calls through method_missing. Rake, on the other hand, decides to define mkdir on Object, and so routes our calls to FileUtils.
Instance Method Summary collapse
Instance Method Details
#mkdir(path, attrs = {}) ⇒ Object
16 17 18 |
# File 'lib/core/transports.rb', line 16 def mkdir(path, attrs = {}) method_missing :mkdir, path, attrs end |