Class: RIO::Match::Entry::Depth

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



59
60
61
# File 'lib/rio/entrysel.rb', line 59

def =~(entry)
  @match_to === entry.rl.pathdepth
end