Skip to content
Browse files

Corrected typo -- ditection /s/ direction

  • Loading branch information...
1 parent 6c98d59 commit 16a124df20d1256f1f9f8dc657ec989b105c06f3 @walterdavis walterdavis committed Jul 3, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/awesome_nested_set/descendants.rb
View
6 lib/awesome_nested_set/descendants.rb
@@ -12,10 +12,10 @@ def has_descendants?
!descendants_count.zero?
end
- def move_by_direction(ditection)
- return if ditection.blank?
+ def move_by_direction(direction)
+ return if direction.blank?
- case ditection.to_sym
+ case direction.to_sym
when :up, :left then move_left
when :down, :right then move_right
end

0 comments on commit 16a124d

Please sign in to comment.
Something went wrong with that request. Please try again.