Class: Charty::Backends::Plotly::HTML

Inherits:
Object
  • Object
show all
Defined in:
lib/charty/backends/plotly.rb

Overview

NEW PLOTTING API ====

Instance Method Summary collapse

Constructor Details

#initialize(html) ⇒ HTML

Returns a new instance of HTML.



109
110
111
# File 'lib/charty/backends/plotly.rb', line 109

def initialize(html)
  @html = html
end

Instance Method Details

#to_irubyObject



113
114
115
# File 'lib/charty/backends/plotly.rb', line 113

def to_iruby
  ["text/html", @html]
end