Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/con_ssh/core_extensions.rb
Instance Method Summary collapse
Instance Method Details
#strip_text ⇒ Object
3 4 5 6 7 |
# File 'lib/con_ssh/core_extensions.rb', line 3 def strip_text split("\n") .map{|l| l.strip} .join("\n") end |