lib/tamashii/resolver.rb in tamashii-common-0.1.6 vs lib/tamashii/resolver.rb in tamashii-common-0.2.0
- old
+ new
@@ -5,19 +5,20 @@
class << self
def method_missing(name, *args, &block)
self.instance.send(name, *args, &block)
end
-
+
def instance
@instance ||= self.new
end
end
def handlers
@handlers ||= {}
end
+ # TODO: Rename hook to middleware
def hooks
@hooks ||= []
end
def config(&block)