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)

7
8
9
# File 'lib/dizby/access/list.rb', line 7

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