w10schools
Login
Register
In current category
Only my posts
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Ruby on Rails
Ruby
Classes
RDoc
RDoc::Markup
RDoc::Markup::Formatter
Language
Default
Markdown
gen_relative_url
gen_relative_url
(path, target)
Class Public methods
Converts a target url to one that is relative to a given path
Links:
https://github.com/ruby/ruby/blob/810008293fd8ce3a9d3d62dcf2f2229b98c2bd49/lib/rdoc/markup/formatter.rb#L23
doc_ruby_on_rails
2015-05-02 11:13:06
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
gen_url
gen_url(url, text) Instance Public methods Creates a Markdown-style URL from url with text.
gen_url
gen_url(url, text) Instance Public methods Returns just the text of link, url is only used to determine the link type.
gen_url
gen_url(url, text) Instance Public methods Generates links for rdoc-ref: scheme URLs and allows RDoc::Markup::ToHtml to handle other sch
gen_url
gen_url(url, text) Instance Public methods Generate a link to url with content text. Handles the special cases for img: and link: descr
file_url_transform_relative
file_url_transform_relative($file_url) Transforms an absolute URL of a local file to a relative URL. May be useful to prevent problems on multisite s
Return to View
Please login to continue.