Class: RIO::Match::Entry::PathRegexp

Inherits:
Base show all
Defined in:
lib/rio/entrysel.rb

Instance Attribute Summary

Attributes inherited from Base

#match_to

Instance Method Summary collapse

Methods inherited from Base

#===, #initialize, #inspect

Constructor Details

This class inherits a constructor from RIO::Match::Entry::Base

Instance Method Details

#=~(entry) ⇒ Object



85
86
87
# File 'lib/rio/entrysel.rb', line 85

def =~(entry) 
  @match_to =~ entry.to_s 
end