Sha256: 8da413f34ef0cf02a2532052a04101511a7fa4e9bcebd1b08b258fa3bff133d5

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require "multiview/version"

module Multiview
  require 'multiview/manager'

  class << self
    def manager
      @manager ||= Manager.new({})
    end

    %w{dispatch redispatch}.each do |m|
      define_method m do |*args|
        manager.send(m, *args)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multiview-0.1.0 lib/multiview.rb