Sha256: d0f8287781a964cbe30148130eae89491b04e348b74147d23942ad1f8b7168dd

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 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 :Columns,    'csv_decision/columns'
  autoload :Dictionary, 'csv_decision/dictionary'
  autoload :Data,       'csv_decision/data'
  autoload :Decide,     'csv_decision/decide'
  autoload :Decision,   'csv_decision/decision'
  autoload :Header,     'csv_decision/header'
  autoload :Input,      'csv_decision/input'
  autoload :Load,       'csv_decision/load'
  autoload :Matchers,   'csv_decision/matchers'
  autoload :Options,    'csv_decision/options'
  autoload :Parse,      'csv_decision/parse'
  autoload :Result,     'csv_decision/result'
  autoload :ScanRow,    'csv_decision/scan_row'
  autoload :Table,      'csv_decision/table'

  class Matchers
    autoload :Constant,      'csv_decision/matchers/constant'
    autoload :Function,      'csv_decision/matchers/function'
    autoload :Guard,         'csv_decision/matchers/guard'
    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

2 entries across 2 versions & 1 rubygems

Version Path
csv_decision-0.1.0 lib/csv_decision.rb
csv_decision-0.0.9 lib/csv_decision.rb