lib/mvcli/router.rb in mvcli-0.0.14 vs lib/mvcli/router.rb in mvcli-0.0.16
- old
+ new
@@ -2,11 +2,10 @@
require "mvcli/router/pattern"
require "mvcli/argv"
module MVCLI
class Router
- RoutingError = Class.new StandardError
- InvalidRoute = Class.new RoutingError
+ class RoutingError < StandardError; end
def initialize(actions = nil)
@actions = actions || Map.new
@routes = []
@macros = []