Sha256: bcc21171fe29d7f9006f158a747a642d6cbf3bc8deae56bbad8042036b540dfa
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
# frozen_string_literal: true module Finrb include ActiveSupport::Configurable default_values = { eps: '1.0e-16', guess: 1.0, business_days: false, periodic_compound: false } default_values.each do |key, value| config.send("#{key.to_sym}=", value) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finrb-0.1.1 | lib/finrb/config.rb |
finrb-0.0.1 | lib/finrb/config.rb |