Class: NodataMonitor::Filters::StateFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/nodata-monitor.rb

Class Method Summary collapse

Class Method Details

.select(set, state) ⇒ Object



53
54
55
56
57
# File 'lib/nodata-monitor.rb', line 53

def self.select set, state
  set.select do |set_member|
    set_member.state == state
  end
end