Sha256: 2b7e07cad75db5a58a09cffeb0b9ca130e3cd786a8cc9897207d5625c9931ed6
Contents?: true
Size: 876 Bytes
Versions: 5
Compression:
Stored size: 876 Bytes
Contents
module Hyperstack module Router module Helpers def match if @__hyperstack_component_params_wrapper.param_accessor_style != :hyperstack params.match else @Match end end def location if @__hyperstack_component_params_wrapper.param_accessor_style != :hyperstack params.location else @Location end end def history if @__hyperstack_component_params_wrapper.param_accessor_style != :hyperstack params.history else @History end end def self.included(base) base.include(Hyperstack::Internal::Router::Helpers) base.class_eval do param :match, default: nil param :location, default: nil param :history, default: nil end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems