Sha256: 65c4c8f83982fd2b626c4bf0e072fcd34650455c4763dbec921eecb88175a9f1
Contents?: true
Size: 370 Bytes
Versions: 5
Compression:
Stored size: 370 Bytes
Contents
module ViewAssets # TODO add rspec examples class JavascriptAssets < AssetsFinder def assets_path # 'assets/javascripts' 'javascripts' end def asset_extension 'js' end def asset_type 'javascript' end def tag(js_src) %(<script src="#{js_src}" type="text/javascript"></script>) end end end
Version data entries
5 entries across 5 versions & 1 rubygems