lib/sibit.rb in sibit-0.20.3 vs lib/sibit.rb in sibit-0.20.4
- old
+ new
@@ -46,10 +46,10 @@
# This will help you avoid some temporary network issues.
#
# The +api+ argument can be an object or an array of objects. If an array
# is provided, we will make an attempt to try them one by one, until
# one of them succeedes.
- def initialize(log: STDOUT, api: Sibit::Blockchain.new(log: Sibit::Log.new(log)))
+ def initialize(log: $stdout, api: Sibit::Blockchain.new(log: Sibit::Log.new(log)))
@log = Sibit::Log.new(log)
@api = api
end
# Current price of 1 BTC in USD (or another currency), float returned.