class String
Public Instance Methods
Source
# File lib/dpl/string_ext.rb, line 14 def blacklist @is_whitelisted = false self end
Source
# File lib/dpl/string_ext.rb, line 20 def blacklisted? @is_whitelisted.nil? ? false : !@is_whitelisted end
Source
# File lib/dpl/string_ext.rb, line 4 def whitelist @is_whitelisted = true self end