Explorar el Código

Actually sort Conditions alphabetically by name

master
The Stranjer hace 5 años
padre
commit
75b94f69fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      shards_of_power.rb

+ 1
- 1
shards_of_power.rb Ver fichero

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


Cargando…
Cancelar
Guardar