Преглед изворни кода

Actually sort Conditions alphabetically by name

master
The Stranjer пре 5 година
родитељ
комит
75b94f69fa
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      shards_of_power.rb

+ 1
- 1
shards_of_power.rb Прегледај датотеку

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


Loading…
Откажи
Сачувај