Method: AdLint::Cpp::BasicSourceCharacterSet.select_adapted

Defined in:
lib/adlint/cpp/util.rb

.select_adapted(str) ⇒ Object



75
76
77
# File 'lib/adlint/cpp/util.rb', line 75

def select_adapted(str)
  str.chars.select { |ch| CHARS.include?(ch.ord) }
end