class GerbilCharts::SVGDC::TRotate

Attributes

radians[RW]

Public Class Methods

new(angle) click to toggle source
Calls superclass method
# File lib/gerbilcharts/svgdc/transformations.rb, line 34
def initialize(angle)
  super()
  @radians=angle
end

Public Instance Methods

render() click to toggle source
# File lib/gerbilcharts/svgdc/transformations.rb, line 39
def render
  "rotate(#{@radians}) "
end