lib/vedeu/geometry/generic_coordinate.rb in vedeu-0.6.20 vs lib/vedeu/geometry/generic_coordinate.rb in vedeu-0.6.21
- old
+ new
@@ -7,10 +7,10 @@
class GenericCoordinate
# Return a new instance of Vedeu::Geometry::GenericCoordinate.
#
# @param attributes [Hash]
- # @option attributes name [String]
+ # @option attributes name [String|Symbol]
# @option attributes type [Symbol]
# @option attributes offset [Fixnum]
# @return [Vedeu::Geometry::GenericCoordinate]
def initialize(attributes = {})
defaults.merge!(attributes).each do |key, value|