Class: RaveEmbed::JsInclude
- Includes:
- ClassLevelInheritableAttributes
- Defined in:
- lib/six-updater-web/vendor/plugins/rave_embed/lib/rave_embed/js_include.rb
Instance Attribute Summary collapse
-
#embed_js_url ⇒ Object
Returns the value of attribute embed_js_url.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ JsInclude
constructor
A new instance of JsInclude.
- #to_html ⇒ Object
Methods included from ClassLevelInheritableAttributes
Constructor Details
Instance Attribute Details
#embed_js_url ⇒ Object
Returns the value of attribute embed_js_url.
8 9 10 |
# File 'lib/six-updater-web/vendor/plugins/rave_embed/lib/rave_embed/js_include.rb', line 8 def @embed_js_url end |
Instance Method Details
#to_html ⇒ Object
14 15 16 |
# File 'lib/six-updater-web/vendor/plugins/rave_embed/lib/rave_embed/js_include.rb', line 14 def to_html "<script src='#{}' type='text/javascript'></script>" end |