summaryrefslogtreecommitdiff
path: root/blatube.rb
diff options
context:
space:
mode:
Diffstat (limited to 'blatube.rb')
-rw-r--r--blatube.rb2
1 files changed, 1 insertions, 1 deletions
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}")