Class: RubyPost::Rotate
Overview
Wraps the rotated metapost command
Direct Known Subclasses
Instance Attribute Summary collapse
-
#degrees ⇒ Object
writeonly
Sets the attribute degrees.
Instance Method Summary collapse
- #compile ⇒ Object
-
#initialize(degrees = 0) ⇒ Rotate
constructor
A new instance of Rotate.
-
#radians=(rads) ⇒ Object
set the angle in radiians.
Constructor Details
#initialize(degrees = 0) ⇒ Rotate
Returns a new instance of Rotate.
133 134 135 |
# File 'lib/options.rb', line 133 def initialize(degrees=0) @degrees = degrees end |
Instance Attribute Details
#degrees=(value) ⇒ Object (writeonly)
Sets the attribute degrees
131 132 133 |
# File 'lib/options.rb', line 131 def degrees=(value) @degrees = value end |