Class: HyperRouter::Match

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
lib/hyper-router/match.rb

Instance Method Summary collapse

Constructor Details

#initialize(native) ⇒ Match

Returns a new instance of Match.



5
6
7
# File 'lib/hyper-router/match.rb', line 5

def initialize(native)
  @native = native
end

Instance Method Details

#to_nObject



9
10
11
# File 'lib/hyper-router/match.rb', line 9

def to_n
  @native
end