Class: MatchesProdProd

Inherits:
Object
  • Object
show all
Defined in:
lib/matches_prod_prod.rb

Overview

Match -prod.prod

Class Method Summary collapse

Class Method Details

.===(item) ⇒ Object



4
5
6
# File 'lib/matches_prod_prod.rb', line 4

def self.===(item)
  item.include?('-prod.prod')
end