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



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

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