Sha256: 44828fd7911ab8d27b084e32b1e05aa53ad8da9d8cb6218cc46af89f18800bb1

Contents?: true

Size: 289 Bytes

Versions: 8

Compression:

Stored size: 289 Bytes

Contents

module E9s
  module Engine
    extend self

    def method_missing(method, *args)
      MODULES.detect do |mod|
        m = "rich/#{mod}/engine".camelize.constantize

        if m.respond_to?(method)
          m.send method, *args
          true
        end

      end
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e9s-2.2.7 lib/e9s/engine.rb
e9s-2.2.6 lib/e9s/engine.rb
e9s-2.2.5 lib/e9s/engine.rb
e9s-2.2.4 lib/e9s/engine.rb
e9s-2.2.3 lib/e9s/engine.rb
e9s-2.2.2 lib/e9s/engine.rb
e9s-2.2.1 lib/e9s/engine.rb
e9s-2.2.0 lib/e9s/engine.rb