Method: Vedeu::Geometries::Move#movement

Defined in:
lib/vedeu/geometries/move.rb

#movementHash<Symbol => Hash<Symbol => Fixnum>> (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Moves the geometry in the direction given by the offset also given.

Returns:

  • (Hash<Symbol => Hash<Symbol => Fixnum>>)


120
121
122
123
124
125
126
127
128
129
# File 'lib/vedeu/geometries/move.rb', line 120

def movement
  {
    down:   down,
    left:   left,
    none:   {},
    origin: origin,
    right:  right,
    up:     up,
  }
end