Title / Description
Code for group, skill_ratings in @character.active_skill_ratings.group_by(&:group).sort_by { |group, skill_ratings| group ? [1, group.name] : [2] } if group && @character.skill_groups.include?(group) pdf.text "#{l group}" pdf.text "#{skill_group_rating_summary_tag} #{skill_ratings.first.group_rating}" end for skill_rating in skill_ratings.sort_by { |skill_rating| skill_rating.skill.name } groupmeber = 'HIER EINRÜCKUNG' if skill_rating.group_member? @character pdf.text "#{l skill_rating.skill}" "(#{skill_rating.specialization})" if skill_rating.specialization pdf.text "#{skill_rating.skill.attribute}" pdf.text "#{skill_rating_summary_tag} #{skill_rating}" end end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code