Class: RsegFilter::Conjunction

Inherits:
Object
  • Object
show all
Defined in:
lib/filters/conjunction.rb

Constant Summary collapse

@@conjunctions =
%W(                             )

Class Method Summary collapse

Class Method Details

.filter(char) ⇒ Object



6
7
8
# File 'lib/filters/conjunction.rb', line 6

def self.filter(char)
  @@conjunctions.include?(char) ? :conjunction : char
end