Module: Saru::List::Srs
- Included in:
- Saru::List
- Defined in:
- lib/saru/list/srs.rb
Instance Method Summary collapse
- #srs_in(states) ⇒ Object
- #srs_numeric_larger_than(number) ⇒ Object
- #srs_numeric_smaller_than(number) ⇒ Object
Instance Method Details
#srs_in(states) ⇒ Object
23 24 25 |
# File 'lib/saru/list/srs.rb', line 23 def srs_in states Saru::List.new items.select{|item| states.include? item.srs } end |