瀏覽代碼

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…
取消
儲存