Class: Dizby::Access::List

Inherits:
Array
  • Object
show all
Defined in:
lib/dizby/access/list.rb

Instance Method Summary collapse

Instance Method Details

#matches?(addr) ⇒ Boolean

Returns:

  • (Boolean)

5
6
7
# File 'lib/dizby/access/list.rb', line 5

def matches?(addr)
  any? { |entry| entry.matches?(addr) }
end