geometry-in-ruby 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTM1MjhmOWM3NDNkYzdiMDI5YTcwZGMyZGNmYmQ0MmE4NTBhMTdkOQ==
4
+ YTdjMTNiMjQ5N2ZkMmQwZmFlNTdjYzEwNjExZjE0ZWM1ODdmOGY2NQ==
5
5
  data.tar.gz: !binary |-
6
- MTE5N2Y2MWMwOTczZDVmMjk1MTZiMzNmMTE0YWZiZTlhYTQ1MWVlYg==
6
+ YWE2MjRmMTllNTk3NmJmMzY1MzczZTMxYmQ1NmU1OWRhN2RkNmI0Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2ZiMDFjYWExNGNlODZiMzEzNTRjYTU3YTc5MzU5OWExNTgzMDhkODFmYmRi
10
- YmFiNjJlYTVlZmI3MWQ4MmYxOTFlMmJjMDVmYzk5ZTZlNzUxNzE3NTlhMmI2
11
- MGQ3MzI1MTUzZGJjMTIzZDQwNWUxZmQyZmM0NjRiYmY3OWQ0YTc=
9
+ ODYxZTg4YTVmNjc0MGE2MjdiZDk1MWFkZTJhOWI2MWVhNDAxZGMxNjM3Zjk1
10
+ ZDgxOGU1YjlkYzBkZTYwZjY4MTU5ZjA5Y2MwMWYwMGU5OGQxZjM5MjBiZjA1
11
+ MDQ3NWQ3YjNiMTgyMWEwNjFjNWI4MzdmNDBiYWQ5NmIxNDA1Y2Y=
12
12
  data.tar.gz: !binary |-
13
- Mjg4ZWI1ZGVjZDBjZThiOGQwZDM5MTA3ZDgzOTdkY2YyZjE4N2M3Yjc2N2Zl
14
- N2EwOTlhYjE2ZGZkNzA3N2VlZmY3Y2ZhM2U4YzBhZjg0MjM1MjY3NGMxNjQ2
15
- NjFkM2IyZDMzZWU4OThkYTU2YmYzOGRlZDM1ZDFiNzhkNTM0ZWU=
13
+ MmJmYzg5MzZhNWZjZDIxYTZkNTM2ZWVjMzdjY2NhYWJkNWViYmQzNzY1OWZi
14
+ MGUzYTMzNGFkODUyZjY3NDM5MWFkYzMwN2JjZGYzYWE2NmQ2M2E2YjgzYzFj
15
+ MWM0ZGE2YTFkOWQ4NmQzZTJkZGMwMDhiN2VjNDliYTEyNjdkYzg=
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "geometry-in-ruby"
6
- s.version = '0.0.3'
6
+ s.version = '0.0.4'
7
7
  s.authors = ["Brandon Fosdick", "Meseker Yohannes"]
8
8
  s.email = ["meseker.yohannes@gmail.com"]
9
9
  s.homepage = "http://github.com/meseker/geometry"
data/lib/geometry/arc.rb CHANGED
@@ -19,6 +19,11 @@ An {Arc} with its center at [1,1] and a radius of 2 that starts at the X-axis an
19
19
  attr_reader :center
20
20
  attr_reader :radius
21
21
  attr_reader :start_angle, :end_angle
22
+ attr_writer :options
23
+ def options
24
+ @options = {} if !@options
25
+ @option
26
+ end
22
27
 
23
28
  # @overload new(center, start, end)
24
29
  # Create a new {Arc} given center, start and end {Point}s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geometry-in-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Fosdick
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-21 00:00:00.000000000 Z
12
+ date: 2014-03-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Geometric primitives and algorithms for Ruby
15
15
  email: