Class: SSHKit::Command
- Inherits:
-
Object
- Object
- SSHKit::Command
- Defined in:
- lib/capsum/patch_sshkit_force_encoding_to_utf8.rb
Instance Method Summary collapse
Instance Method Details
#to_command ⇒ Object
7 8 9 |
# File 'lib/capsum/patch_sshkit_force_encoding_to_utf8.rb', line 7 def to_command to_command_without_utf8.force_encoding('ASCII-8BIT') end |
#to_command_without_utf8 ⇒ Object
5 |
# File 'lib/capsum/patch_sshkit_force_encoding_to_utf8.rb', line 5 alias_method :to_command_without_utf8, :to_command |