Sha256: f86cccf03bc16b45b906b16af7ee766165974302fa07be2e086906b4103efc76

Contents?: true

Size: 370 Bytes

Versions: 7

Compression:

Stored size: 370 Bytes

Contents

module YARD
  module Server
    # Registers a static path to be used in static asset lookup.
    # @param [String] path the pathname to register
    # @return [void]
    # @since 0.6.2
    def self.register_static_path(path)
      static_paths = Commands::StaticFileCommand::STATIC_PATHS
      static_paths.push(path) unless static_paths.include?(path)
    end
  end
end

Version data entries

7 entries across 6 versions & 2 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/lib/yard/server.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/lib/yard/server.rb
yard-0.9.5 lib/yard/server.rb
yard-0.9.4 lib/yard/server.rb
yard-0.9.3 lib/yard/server.rb
yard-0.9.2 lib/yard/server.rb
yard-0.9.1 lib/yard/server.rb