Sha256: ea9bc18fbeb3e7f03e2057166c61a032886116974fd407c64ea0d595c55ee443

Contents?: true

Size: 801 Bytes

Versions: 15

Compression:

Stored size: 801 Bytes

Contents

module Hyperloop
  class Router
    def self.inherited(child)
      child.include(Hyperloop::Component::Mixin)
      child.include(Base)
    end
  end

  class BrowserRouter
    def self.inherited(child)
      child.include(Hyperloop::Component::Mixin)
      child.include(Hyperloop::Router::Browser)
    end
  end

  class HashRouter
    def self.inherited(child)
      child.include(Hyperloop::Component::Mixin)
      child.include(Hyperloop::Router::Hash)
    end
  end

  class MemoryRouter
    def self.inherited(child)
      child.include(Hyperloop::Component::Mixin)
      child.include(Hyperloop::Router::Memory)
    end
  end

  class StaticRouter
    def self.inherited(child)
      child.include(Hyperloop::Component::Mixin)
      child.include(Hyperloop::Router::Static)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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