Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Missed one number that needs padding.

  • Loading branch information...
commit 71210486e6995af64e8606c1db4a90f9effb5a6d 1 parent 7eefb1d
@kylerippey kylerippey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/robut/plugin/stock.rb
View
2  lib/robut/plugin/stock.rb
@@ -20,7 +20,7 @@ def format_reply(stock_data)
r = []
stock_data.keys.sort.each do |sym|
sd = stock_data[sym]
- r << "#{sym}: #{format_number(sd.changePoints)} / #{format_number(sd.changePercent)}%,\tbid: #{pad_number(sd.bid)},\task: #{pad_number(sd.ask)},\tprevious close: #{sd.previousClose}"
+ r << "#{sym}: #{format_number(sd.changePoints)} / #{format_number(sd.changePercent)}%,\tbid: #{pad_number(sd.bid)},\task: #{pad_number(sd.ask)},\tprevious close: #{pad_number(sd.previousClose)}"
end
r.join("\n")
end
Please sign in to comment.
Something went wrong with that request. Please try again.