Module: IzzyArray

Defined in:
lib/izzy.rb

Instance Method Summary collapse

Instance Method Details

#all_are(m) ⇒ Object



63
64
65
# File 'lib/izzy.rb', line 63

def all_are(m)
  self.all? &object_block(m)
end

#any_are(m) ⇒ Object



67
68
69
# File 'lib/izzy.rb', line 67

def any_are(m)
  self.any? &object_block(m)
end

#none_are(m) ⇒ Object



71
72
73
# File 'lib/izzy.rb', line 71

def none_are(m)
  self.none? &object_block(m)
end