Class: Net::SFTP::Session
- Inherits:
-
Object
- Object
- Net::SFTP::Session
- Defined in:
- lib/fife/storage/sftp.rb
Instance Method Summary collapse
Instance Method Details
#mkdir_p!(pathname) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fife/storage/sftp.rb', line 6 def mkdir_p!(pathname) pathname = Pathname(pathname) unless pathname.is_a? Pathname pathname.descend do |path| mkdir!(path) rescue nil end end |