Class: CSVDecision::Matchers::Matcher Private
- Inherits:
-
Object
- Object
- CSVDecision::Matchers::Matcher
- Defined in:
- lib/csv_decision/matchers.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Subclass and override #matches? to implement a custom Matcher class.
Instance Method Summary collapse
-
#initialize(_options = nil) ⇒ Matcher
constructor
private
A new instance of Matcher.
-
#ins? ⇒ Boolean
private
Does this matcher apply to output cells?.
-
#matches?(cell) ⇒ false, CSVDecision::Proc
private
Determine if the input cell string is recognised by this Matcher.
-
#outs? ⇒ Boolean
private
Does this matcher apply to output cells?.
Constructor Details
#initialize(_options = nil) ⇒ Matcher
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Matcher
179 |
# File 'lib/csv_decision/matchers.rb', line 179 def initialize( = nil); end |
Instance Method Details
#ins? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Does this matcher apply to output cells?
201 202 203 |
# File 'lib/csv_decision/matchers.rb', line 201 def ins? true end |
#matches?(cell) ⇒ false, CSVDecision::Proc
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Determine if the input cell string is recognised by this Matcher.
187 |
# File 'lib/csv_decision/matchers.rb', line 187 def matches?(cell); end |
#outs? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Does this matcher apply to output cells?
193 194 195 |
# File 'lib/csv_decision/matchers.rb', line 193 def outs? false end |