소스 검색

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)


불러오는 중...
취소
저장