lib/compo/finders/url.rb in compo-0.5.0 vs lib/compo/finders/url.rb in compo-0.5.1
- old
+ new
@@ -54,11 +54,11 @@
# @api public
# @example Runs an UrlFinder, returning the item unchanged.
# finder.run { |item| item }
# #=> item
#
- # @yieldparam resource [ModelObject] The resource found.
- # @yieldparam args [Array] The splat from above.
+ # @yieldparam resource [Object] The resource found.
+ # @yieldparam args [Array] The splat from above.
#
# @return [Object] The return value of the block.
def run
# We're traversing down the URL by repeatedly splitting it into its
# head (part before the next /) and tail (part after). While we still