lib/geometry/arc.rb in geometry-in-ruby-0.0.3 vs lib/geometry/arc.rb in geometry-in-ruby-0.0.4

- old
+ new

@@ -17,9 +17,14 @@ include ClusterFactory attr_reader :center attr_reader :radius attr_reader :start_angle, :end_angle + attr_writer :options + def options + @options = {} if !@options + @option + end # @overload new(center, start, end) # Create a new {Arc} given center, start and end {Point}s # @option options [Point] :center (PointZero) The {Point} at the center # @option options [Point] :start The {Arc} starts at the start {Point}