Quellcode durchsuchen

Actually sort Conditions alphabetically by name

master
The Stranjer vor 5 Jahren
Ursprung
Commit
75b94f69fa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      shards_of_power.rb

+ 1
- 1
shards_of_power.rb Datei anzeigen

@@ -94,7 +94,7 @@ class ShardsOfPower
@spells = Spell.spells
@conditions = Condition.conditions

@conditions.sort_by(&:name)
@conditions.sort_by!(&:name)

puts "Creating PDF object..."
@pdf = Prawn::Document.new(:margin => 0)


Laden…
Abbrechen
Speichern