lib/vedeu/geometry/coordinate.rb in vedeu-0.6.20 vs lib/vedeu/geometry/coordinate.rb in vedeu-0.6.21
- old
+ new
@@ -16,11 +16,11 @@
:y_position,
:yn
# Returns a new instance of Vedeu::Geometry::Coordinate.
#
- # @param name [String]
+ # @param name [String|Symbol]
# @param oy [Fixnum]
# @param ox [Fixnum]
# @return [Vedeu::Geometry::Coordinate]
def initialize(name, oy, ox)
@name = name
@@ -29,10 +29,10 @@
end
protected
# @!attribute [r] name
- # @return [String]
+ # @return [String|Symbol]
attr_reader :name
# @!attribute [rw] ox
# @return [Fixnum]
attr_accessor :ox