Sha256: 597f71eb800dffd7cf6ae6f780f9c4de96f654bb00547cae73ee6d1a06d5c497

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

# CSV Decision: CSV based Ruby decision tables.
# Created December 2017 by Brett Vickers
# See LICENSE and README.md for details.
module CSVDecision
  # Methods to assign a matcher to data cells
  class Matchers
    # Cell constant matcher - e.g., := true, = nil.
    class Constant < Matcher
      # @param (see Matchers::Matcher)
      # @return (see Matchers::Matcher)
      def matches?(cell)
        CSVDecision::Constant.matches?(cell)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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