Module Sinatra::StaticAssets::Helpers
In: lib/sinatra/static_assets.rb

Methods

Public Instance methods

In HTML <link> and <img> tags have no end tag. In XHTML, on the contrary, these tags must be properly closed.

We can choose the appropriate behaviour with closed option:

  image_tag "/images/foo.png", :alt => "Foo itself", :closed => true

The default value of closed option is false.

[Validate]