lib/vedeu/geometry/coordinate.rb in vedeu-0.6.53 vs lib/vedeu/geometry/coordinate.rb in vedeu-0.6.54
- old
+ new
@@ -8,11 +8,11 @@
#
class Coordinate
# Return a new instance of Vedeu::Geometry::Coordinate.
#
- # @param attributes [Hash]
+ # @param attributes [Hash<Symbol => Fixnum|String|Symbol>]
# @option attributes name [String|Symbol]
# @option attributes type [Symbol]
# @option attributes offset [Fixnum]
# @return [Vedeu::Geometry::Coordinate]
def initialize(attributes = {})
@@ -159,10 +159,10 @@
(d...dn_position).to_a
end
# The default values for a new instance of this class.
#
- # @return [Hash]
+ # @return [Hash<Symbol => Fixnum|String|Symbol>]
def defaults
{
name: '',
offset: nil,
type: :x,