summaryrefslogtreecommitdiff
path: root/bocelli/module/base.rb
blob: f338c34e75c8fd6b3fc6236b72d6e068e50fd7ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require_relative '../core/router'

module Bocelli
  module Module
    module Base
      include Bocelli::Core::Router

      def setup
        setup_router
      end

      class << self
        def extended(mod)
          super

          mod.setup
        end
      end
    end
  end
end