Module: ActionDispatch::Journey::Formatter::RegexCaseComparator

Defined in:
lib/action_dispatch/journey/formatter.rb

Constant Summary collapse

DEFAULT_INPUT =
/[-_.a-zA-Z0-9]+\/[-_.a-zA-Z0-9]+/
DEFAULT_REGEX =
/\A#{DEFAULT_INPUT}\Z/

Class Method Summary collapse

Class Method Details

.===(regex) ⇒ Object



127
128
129
# File 'lib/action_dispatch/journey/formatter.rb', line 127

def self.===(regex)
  DEFAULT_INPUT == regex
end