Registry / web-framework / sinatra-static-assets

sinatra-static-assets

JSON →
library1.0.4rbrubygemsunverified

This Sinatra extension provides helper methods: image_tag, stylesheet_link_tag, javascript_script_tag.

gem install sinatra-static-assets
INSTALL
IMPORT
SIG · SINATRA-STATIC-ASS
S
sinatra-static-assets
web-frameworkrubyv1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sinatra::StaticAssets
require 'sinatra/static_assets'

Register the extension and use the helper in a route.

require 'sinatra/static_assets' class MyApp < Sinatra::Base register Sinatra::StaticAssets get '/' do stylesheet_link_tag :application end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
sinatra-static-assets — gem install sinatra-static-assets · libregistry