Sha256: 037fc55edd6d91f4682127f908f0472c84129abd55d4d7e8bc481f047c9e301c
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
require "multiview/version" require 'active_support' require 'active_support/core_ext/module/remove_method' require 'active_support/core_ext' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multiview-0.1.2 | lib/multiview.rb |
multiview-0.1.1 | lib/multiview.rb |