Class: IpFilter::BlackList
Instance Method Summary collapse
Methods inherited from List
Constructor Details
This class inherits a constructor from IpFilter::List
Instance Method Details
#approved?(remote_ip) ⇒ Boolean
5 6 7 |
# File 'lib/ip_filter/black_list.rb', line 5 def approved?(remote_ip) !any?(remote_ip) end |