class GerbilCharts::SVGDC::PBrush
Public Class Methods
new(opt={})
click to toggle source
Calls superclass method
GerbilCharts::SVGDC::PresentationAttribute::new
# File lib/gerbilcharts/svgdc/presentation_attributes.rb, line 38 def initialize(opt={}) super opt end
Public Instance Methods
render()
click to toggle source
# File lib/gerbilcharts/svgdc/presentation_attributes.rb, line 42 def render h={} h.store("fill", @color) if @color h end