Sha256: d0ed2a21a5339051f794845f5b69ca6c7a2a0530459dcbd2a38d8ec2c5786e8a

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true
module YARD
  module Server
    module Commands
      # Displays an object wrapped in frames
      class FramesCommand < DisplayObjectCommand
        def run
          options.update(:frames => true, :type => :fulldoc)
          tpl = fulldoc_template
          tpl.generate_frameset
          cache(tpl.contents)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-0.9.18 lib/yard/server/commands/frames_command.rb
yard-0.9.17 lib/yard/server/commands/frames_command.rb