Class: Shapes::GeoObject
- Inherits:
-
Object
- Object
- Shapes::GeoObject
- Defined in:
- lib/shapes/geometry.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize(*args) ⇒ GeoObject
constructor
A new instance of GeoObject.
Constructor Details
#initialize(*args) ⇒ GeoObject
Returns a new instance of GeoObject.
5 6 7 |
# File 'lib/shapes/geometry.rb', line 5 def initialize(*args) self.attributes = Hash.new end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/shapes/geometry.rb', line 3 def attributes @attributes end |