Methods

Class/Module Index [+]

Quicksearch

Cinch::Utilities::String

Public Class Methods

filter_string(string) click to toggle source

@return [String] @todo Handle mIRC color codes more gracefully.

# File lib/cinch/utilities/string.rb, line 8
def self.filter_string(string)
  string.gsub(/[\x00-\x1f]/, '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.