Sha256: b03438200f48e7850de0e80a9528dd76c6e3aa0399262126af5bfb5a69257944

Contents?: true

Size: 276 Bytes

Versions: 3

Compression:

Stored size: 276 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

3 entries across 3 versions & 1 rubygems

Version Path
finrb-0.1.6 lib/finrb/config.rb
finrb-0.1.5 lib/finrb/config.rb
finrb-0.1.4 lib/finrb/config.rb