Sha256: e14cf0ae627ab6b030065fa82b3ef583ae69449d00dd2133e28dace25bdbf4a0

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

# frozen_string_literal: true\

require 'active_support/core_ext/object'
require 'csv_decision/parse'

# CSV Decision: CSV based Ruby decision tables.
# Created December 2017.
# @author Brett Vickers <brett@phillips-vickers.com>
# See LICENSE and README.md for details.
module CSVDecision
  # @return [String] gem project's root directory
  def self.root
    File.dirname __dir__
  end

  autoload :Constant,   'csv_decision/constant'
  autoload :Data,       'csv_decision/data'
  autoload :Decide,     'csv_decision/decide'
  autoload :Decision,   'csv_decision/decision'
  autoload :Columns,    'csv_decision/columns'
  autoload :Function,   'csv_decision/function'
  autoload :Header,     'csv_decision/header'
  autoload :Input,      'csv_decision/input'
  autoload :Load,       'csv_decision/load'
  autoload :Matchers,   'csv_decision/matchers'
  autoload :Numeric,    'csv_decision/numeric'
  autoload :Options,    'csv_decision/options'
  autoload :Parse,      'csv_decision/parse'
  autoload :ScanRow,    'csv_decision/scan_row'
  autoload :Symbol,     'csv_decision/symbol'
  autoload :Table,      'csv_decision/table'

  class Matchers
    autoload :Constant,      'csv_decision/matchers/constant'
    autoload :Function,      'csv_decision/matchers/function'
    autoload :Numeric,       'csv_decision/matchers/numeric'
    autoload :Pattern,       'csv_decision/matchers/pattern'
    autoload :Range,         'csv_decision/matchers/range'
    autoload :Symbol,        'csv_decision/matchers/symbol'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv_decision-0.0.6 lib/csv_decision.rb
csv_decision-0.0.5 lib/csv_decision.rb
csv_decision-0.0.4 lib/csv_decision.rb