From 610eee148281ac5b86dd76ce09841d72379ea4b7 Mon Sep 17 00:00:00 2001 From: otherl Date: Sun, 24 Nov 2013 16:17:50 +0000 Subject: Fixed a typo --- blatube.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blatube.rb') diff --git a/blatube.rb b/blatube.rb index 14fd7b3..12de2c0 100644 --- a/blatube.rb +++ b/blatube.rb @@ -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}") -- cgit v1.2.3