Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Missed one number that needs padding.

  • Loading branch information...
commit 71210486e6995af64e8606c1db4a90f9effb5a6d 1 parent 7eefb1d
Kyle Rippey kylerippey authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/robut/plugin/stock.rb
2  lib/robut/plugin/stock.rb
@@ -20,7 +20,7 @@ def format_reply(stock_data)
20 20 r = []
21 21 stock_data.keys.sort.each do |sym|
22 22 sd = stock_data[sym]
23   - r << "#{sym}: #{format_number(sd.changePoints)} / #{format_number(sd.changePercent)}%,\tbid: #{pad_number(sd.bid)},\task: #{pad_number(sd.ask)},\tprevious close: #{sd.previousClose}"
  23 + 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)}"
24 24 end
25 25 r.join("\n")
26 26 end

0 comments on commit 7121048

Please sign in to comment.
Something went wrong with that request. Please try again.