Sha256: a734d0654b570ff1174f637b2b35deb2f0e3252db46beb2c160b547e15467a76
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
# frozen_string_literal: true # require 'active_support' require 'active_support/core_ext/time' require 'active_support/core_ext/numeric' require 'colorize' require 'date' unless defined?(DateTime) require 'csv' unless defined?(CSV) require 'yaml' unless defined?(YAML) require 'json' unless defined?(JSON) require 'digest' unless defined?(Digest) require 'cotcube-helpers' # require_relative 'cotcube-level/filename %w[ stencil detect_slope triangulate helpers].each do |part| require_relative "cotcube-level/#{part}" end module Cotcube module Level PRECISION = 7 INTERVALS = %i[ daily ] SWAPTYPES = %i[ full ] #module_function :init, # checks whether environment is prepared and returns the config hash module_function :detect_slope, :shear_to_deg, :shear_to_rad, :rad2deg, :deg2rad, :puts_swaps, :save_swaps, :get_jsonl_name, :load_swaps, :member_to_human, :triangulate # please note that module_functions of sources provided in private files must slso be published within these end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cotcube-level-0.2.0 | lib/cotcube-level.rb |