lib/yard/server/commands/frames_command.rb in yard-0.6.8 vs lib/yard/server/commands/frames_command.rb in yard-0.7.0

- old
+ new

@@ -2,10 +2,10 @@ module Server module Commands # Displays an object wrapped in frames class FramesCommand < DisplayObjectCommand include DocServerHelper - + def run main_url = request.path.gsub(/^(.+)?\/frames(?:\/(#{path}))?$/, '\1/\2') if path =~ %r{^file/} page_title = "File: #{$'}" elsif !path.empty?