Sha256: fc6465f049ff054c145f712d6626ce39159ae685abe1dba89715f2a68d7f88ae

Contents?: true

Size: 312 Bytes

Versions: 6

Compression:

Stored size: 312 Bytes

Contents

module Hyperstack
  module Router
    class Match
      include Native

      def initialize(native)
        @native = native
      end

      def to_n
        @native
      end

      alias_native :params
      alias_native :is_exact, :isExact
      alias_native :path
      alias_native :url
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyper-router-1.0.alpha1.5 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.4 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.3 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.2 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.1 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1 lib/hyperstack/router/match.rb