Class: Host::List

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

Instance Method Summary collapse

Instance Method Details

#filter(tags) ⇒ Object



5
6
7
8
9
# File 'lib/host/list.rb', line 5

def filter( tags )
  self.select do | i |
    i.matches? tags 
  end
end