lib/yard/server/static_caching.rb in yard-0.7.5 vs lib/yard/server/static_caching.rb in yard-0.8.0
- old
+ new
@@ -25,11 +25,11 @@
# end
# end
# end
#
# class YARD::Server::Router; include MemoryCaching; end
- # @return [Array(Number,Hash,Array)] the Rack-style response
+ # @return [Array(Numeric,Hash,Array)] the Rack-style response
# @return [nil] if no cache is available and routing should continue
# @see Commands::Base#cache
def check_static_cache
return nil unless adapter.document_root
cache_path = File.join(adapter.document_root, request.path.sub(/\.html$/, '') + '.html')
@@ -40,6 +40,6 @@
end
nil
end
end
end
-end
\ No newline at end of file
+end