diff options
-rw-r--r-- | blatube.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ def get_line_status if @line == 'SUMMARY' line_summary = '' sorted_lines.each {|xml| line_summary << "#{xml.xpath('.//line/@name').text}: #{xml.xpath('./@statusdetails').text} " unless xml.xpath('./@statusdetails').text == ''} - @output << (line_summary == '' ? 'Good Serice on all lines.' : "#{line_summary}Good Service on all other lines.") + @output << (line_summary == '' ? 'Good Service on all lines.' : "#{line_summary}Good Service on all other lines.") else l_s_xml = sorted_lines.find {|xml| xml.xpath('.//line/@name').text.upcase.match line} @output << ("#{l_s_xml.xpath('.//line/@name').text}: #{l_s_xml.xpath('.//status/@description').text}. #{l_s_xml.xpath('./@statusdetails').text}") |