Tpyo
git-svn-id: file:///home/svn/incoming/trunk@3162 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b931b02c14
commit
8a42985d84
|
@ -340,7 +340,7 @@ module Text
|
|||
#
|
||||
# This method returns all chars but the supplied set
|
||||
#
|
||||
def self.charset_invert(keepers)
|
||||
def self.charset_exclude(keepers)
|
||||
[*(0..255)].pack('C*').delete(keepers)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue