dsawardekar/speckle

View on GitHub
lib/speckle/cli/router.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Speckle
  module CLI

    require_relative 'controller'

    class Router
      def route(action, options)
        controller = Controller.new(options)
        controller.send(action)
      end
    end

  end
end