Parcourir la source

Actually sort Conditions alphabetically by name

master
The Stranjer il y a 5 ans
Parent
révision
75b94f69fa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      shards_of_power.rb

+ 1
- 1
shards_of_power.rb Voir le fichier

@@ -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)


Chargement…
Annuler
Enregistrer