ソースを参照

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)


読み込み中…
キャンセル
保存