Method: Inkling::Routing::TypeConstraint#initialize
- Defined in:
- lib/inkling/routing.rb
#initialize(type, prefix = nil) ⇒ TypeConstraint
Returns a new instance of TypeConstraint.
7 8 9 10 |
# File 'lib/inkling/routing.rb', line 7 def initialize(type, prefix = nil) @type = type @prefix = prefix end |