class Oga::Whitelist
@api private
Public Instance Methods
allow?(name)
click to toggle source
@return [TrueClass|FalseClass]
# File lib/oga/whitelist.rb, line 5 def allow?(name) names.include?(name) end
to_blacklist()
click to toggle source
@return [Oga::Blacklist]
# File lib/oga/whitelist.rb, line 10 def to_blacklist Blacklist.new(names) end