Sha256: 2041247e6534ef9fe504c892f45829fef7067112cced91afb0065d8574abf87f

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

module Coinage
  module Exchange
    class Variable
      
      include Base
      
      def rate(current, target)
        validate_currencies(current, target)
        2*rand
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
chrislloyd-coinage-0.2.0 lib/coinage/exchange/variable.rb
coinage-0.2.0 lib/coinage/exchange/variable.rb