Sha256: 00589739cbda13e7df38b55fdd73d7261c0bae016280b5861d91bbec3556c8b6

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rubygems'
require 'simple_xurrency'

SimpleXurrency.key = 'e8f1e8e57a297593c7db984024210b5f'

SimpleXurrency.disable_cache

if SimpleXurrency.cache_enabled?
  puts 'si'
else
  puts 'no'
end
10.times do
  puts 1.usd.to_eur_updated_at
end

#(0..100).each do |x|
#  puts x.usd.to_eur
#end

#(0..100).each do |x|
#  puts x.eur.to_usd
#end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_xurrency-1.1.2 spec/test.rb