Class: CSVDecision::Matchers::Constant

Inherits:
Matcher
  • Object
show all
Defined in:
lib/csv_decision/matchers/constant.rb

Overview

Cell constant matcher - e.g., := true, = nil.

Instance Method Summary collapse

Methods inherited from Matcher

#initialize

Constructor Details

This class inherits a constructor from CSVDecision::Matchers::Matcher

Instance Method Details

#matches?(cell) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/csv_decision/matchers/constant.rb', line 13

def matches?(cell)
  CSVDecision::Constant.matches?(cell)
end