class SVGPlot::Raw

Raw child, just prints data provided

Public Class Methods

new(img, data) click to toggle source
# File lib/svgplot/tag.rb, line 112
def initialize(img, data)
  @img = img
  @data = data
end

Public Instance Methods

write(output) click to toggle source
# File lib/svgplot/tag.rb, line 117
def write(output)
  output << @data.to_s
end