Class: MVCLI::Router::Pattern::Matcher::Literal
- Inherits:
-
MVCLI::Router::Pattern::Matcher
- Object
- MVCLI::Router::Pattern::Matcher
- MVCLI::Router::Pattern::Matcher::Literal
- Defined in:
- lib/mvcli/router/pattern.rb
Instance Method Summary collapse
Methods inherited from MVCLI::Router::Pattern::Matcher
Constructor Details
This class inherits a constructor from MVCLI::Router::Pattern::Matcher
Instance Method Details
#matches?(input) ⇒ Boolean
55 56 57 |
# File 'lib/mvcli/router/pattern.rb', line 55 def matches?(input) input == @name end |