Sha256: 6634ba55100b35a2e19d2ab334ab0d241f12301034e8612750c6e600b2d9cfe0

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

module Hyperstack
  module Router
    class Match
      include Native::Wrapper

      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

3 entries across 3 versions & 1 rubygems

Version Path
hyper-router-1.0.alpha1.8 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.7 lib/hyperstack/router/match.rb
hyper-router-1.0.alpha1.6 lib/hyperstack/router/match.rb