diff options
author | otherl <lgdmiller@gmail.com> | 2013-11-24 16:17:50 +0000 |
---|---|---|
committer | otherl <lgdmiller@gmail.com> | 2014-08-17 19:58:01 +0100 |
commit | 610eee148281ac5b86dd76ce09841d72379ea4b7 (patch) | |
tree | 20249ca41b7cf2534cfa8cf4feaed62b230350cc /blatube.rb | |
parent | 468c60360dc50b400119d12a30a368a2e9d19f7c (diff) |
Fixed a typo
Diffstat (limited to 'blatube.rb')
-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}") |