Sha256: e2f48bed4d1ed1c34b28fb6770b4eb7ff92dc10d25669bdf06da2f92e7d4a192

Contents?: true

Size: 403 Bytes

Versions: 15

Compression:

Stored size: 403 Bytes

Contents

module Hyperloop
  class Router
    module Static
      module ClassMethods
        def route(&block)
          prerender_router(&block)
        end
      end

      def self.included(base)
        base.extend(HyperRouter::ClassMethods)
        base.extend(ClassMethods)

        base.include(HyperRouter::InstanceMethods)
        base.include(HyperRouter::ComponentMethods)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyper-router-0.99.6 lib/hyperloop/router/static.rb
hyper-router-0.99.5 lib/hyperloop/router/static.rb
hyper-router-0.99.4 lib/hyperloop/router/static.rb
hyper-router-0.99.3 lib/hyperloop/router/static.rb
hyper-router-0.99.2 lib/hyperloop/router/static.rb
hyper-router-0.99.1 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap28 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap27 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap26 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap25 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap24 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap23 lib/hyperloop/router/static.rb
hyper-router-4.2.6.lap22 lib/hyperloop/router/static.rb
hyper-router-4.1.1 lib/hyperloop/router/static.rb
hyper-router-4.0.1 lib/hyperloop/router/static.rb