summaryrefslogtreecommitdiffhomepage
path: root/lib/felflame/order.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/felflame/order.rb')
-rw-r--r--lib/felflame/order.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/felflame/order.rb b/lib/felflame/order.rb
index 3202b25..c11438d 100644
--- a/lib/felflame/order.rb
+++ b/lib/felflame/order.rb
@@ -1,11 +1,12 @@
+# frozen_string_literal: true
+
module FelFlame
module Order
-
- # Sets the priority of all items passed into this method
+ # Sets the priority of all items passed into this method
# according to the order they were passed.
# If an array is one of the elements then it will give all
# of those elements in the array the same priority.
- # @param sortables [(Systems and Array<Systems>) or (Scenes and Array<Scenes>)]
+ # @param sortables [(Systems and Array<Systems>) or (Scenes and Array<Scenes>)]
# @return [Boolean] +true+.
def self.sort(*sortables)
sortables.each_with_index do |sorted, index|