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



132
133
134
# File 'lib/action_dispatch/journey/formatter.rb', line 132

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