SSHKit.config.formatter is now a private method
When investigating various output options and verbosity I referred to your readme and found the following under Output Handling:
SSHKit.config.output = SSHKit.config.formatter.new($stdout)
However, that no longer works because formatter is now a private method in the config so you can't call it directly. Just doing:
SSHKit.config.output = $stdout
... does output to the command line, but I've only tested it on my specific setup so I don't know if that would work for everyone. Also, I'm unsure whether that's how you intend it to work going forward.
If the above is correct and it's just a documentation change then I'd be happy to suggest a pull request. Otherwise, you might want to update the docs to reflect how this should be done in future.
You're right, the docs are out of date, it was changed to work the way you described to make it a bit easier to set the output from Capistrano (our primary consumer). It ought to be a doc change.
I've suggested a documentation update in the above pull request so I'll close this ticket.
Thanks!
Sent from my Nexus 4. On 24 Feb 2014 17:51, "Chris Lewis" [email protected] wrote:
I've suggested a documentation update in the above pull request so I'll close this ticket.
— Reply to this email directly or view it on GitHubhttps://github.com/capistrano/sshkit/issues/115#issuecomment-35907061 .