favicon_link_tag

favicon_link_tag(source='favicon.ico', options={}) Instance Public methods Returns a link loading a favicon file. You may specify a different file in the first argument. The helper accepts an additional options hash where you can override ârelâ and âtypeâ. Options :rel - Specify the relation of this link, defaults to 'shortcut icon' :type - Override the auto-generated mime type, defaults to 'image/vnd.microsoft.icon' Examples favicon_link_tag 'myicon.ico' # => <link

auto_discovery_link_tag

auto_discovery_link_tag(type = :rss, url_options = {}, tag_options = {}) Instance Public methods Returns a link tag that browsers and feed readers can use to auto-detect an RSS or Atom feed. The type can either be :rss (default) or :atom. Control the link options in url_for format using the url_options. You can modify the LINK tag itself in tag_options. Options :rel - Specify the relation of this link, defaults to âalternateâ :type - Override the auto-generated mime type :ti

audio_tag

audio_tag(*sources) Instance Public methods Returns an HTML audio tag for the source. The source can be full path or file that exists in your public audios directory. audio_tag("sound") # => <audio src="/audios/sound" /> audio_tag("sound.wav") # => <audio src="/audios/sound.wav" /> audio_tag("sound.wav", autoplay: true, controls: true) # => <audio autoplay="autoplay" controls="controls" src="/audios/sound.wav" /> audio_tag("sound.wav", "sound.mid") # =>

tag

tag(type, options, *) Instance Public methods

object

object() Instance Public methods

error_wrapping

error_wrapping(html_tag) Instance Public methods

error_message

error_message() Instance Public methods

content_tag

content_tag(*) Instance Public methods

to_s

to_s() Instance Public methods

new

new(hash = {}, pattern=nil) Class Public methods