Class: Charty::Backends::Plotly::HTML
- Inherits:
-
Object
- Object
- Charty::Backends::Plotly::HTML
- Defined in:
- lib/charty/backends/plotly.rb
Overview
NEW PLOTTING API ====
Instance Method Summary collapse
-
#initialize(html) ⇒ HTML
constructor
A new instance of HTML.
- #to_iruby ⇒ Object
Constructor Details
#initialize(html) ⇒ HTML
Returns a new instance of HTML.
115 116 117 |
# File 'lib/charty/backends/plotly.rb', line 115 def initialize(html) @html = html end |
Instance Method Details
#to_iruby ⇒ Object
119 120 121 |
# File 'lib/charty/backends/plotly.rb', line 119 def to_iruby ["text/html", @html] end |