Class: Ovto::Router::Matcher

Inherits:
Object
  • Object
show all
Defined in:
lib/ovto/router/matcher.rb

Direct Known Subclasses

SimpleMatcher

Class Method Summary collapse

Class Method Details

.build(str) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/ovto/router/matcher.rb', line 4

def self.build(str)
  if str.include?(':')
    raise NotImplementedError
  else
    SimpleMatcher.new(str)
  end
end