소스 검색

Case insensitive sorting

master
The Stranjer 2 년 전
부모
커밋
920cced1aa
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      shards_of_power.rb

+ 2
- 2
shards_of_power.rb 파일 보기

@@ -165,7 +165,7 @@ class ShardsOfPower

start_section "Credits"

spell_authors = spells.collect { |spell| spell.authors }.flatten.uniq.sort
spell_authors = spells.collect { |spell| spell.authors }.flatten.uniq.sort { |a, b| b.downcase <=> a.downcase }

pdf.text "The following users have contributed to Shards of Power, in alphabetical order: #{spell_authors.to_list}"
end
@@ -359,4 +359,4 @@ class ShardsOfPower
end

shards_of_power = ShardsOfPower.new
shards_of_power.generate
shards_of_power.generate

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