lib/geometry/text.rb in geometry-in-ruby-0.0.1 vs lib/geometry/text.rb in geometry-in-ruby-0.0.2
- old
+ new
@@ -1,9 +1,14 @@
require_relative 'point'
module Geometry
class Text
+ attr_writer :options
+ def options
+ @options = {} if !@options
+ @options
+ end
# @return [Point] The point located in the top left corner of {Text}'s
# bounding box
attr_reader :position
\ No newline at end of file