Class: CipherStash::Analysis::TokenFilters::Downcase

Inherits:
Base
  • Object
show all
Defined in:
lib/cipherstash/analysis/token_filters.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from CipherStash::Analysis::TokenFilters::Base

Instance Method Details

#perform(str_or_array) ⇒ Object



11
12
13
# File 'lib/cipherstash/analysis/token_filters.rb', line 11

def perform(str_or_array)
  Array(str_or_array).map(&:downcase)
end