lib/hexx/suit/utils/system.rb in hexx-suit-0.1.0 vs lib/hexx/suit/utils/system.rb in hexx-suit-0.2.0
- old
+ new
@@ -33,10 +33,10 @@
# Returns non-empty lines without trailing spaces
#
# @return [Array<String>]
def lines
- super.map(&:strip).reject(&:empty?)
+ Array(super).map(&:strip).reject(&:empty?)
end
# Sends itself to system line by line
#
# @return [self]