Skip to content

Commit

Permalink
Fix Rubocop errors
Browse files Browse the repository at this point in the history
Rubocop complained about the following things:

  lib/page/term_table.rb:90:11: C: Align the elements of a hash literal if they span more than one line.
            person:          person,
            ^^^^^^^^^^^^^^^^^^^^^^^
  lib/page/term_table.rb:91:11: C: Align the elements of a hash literal if they span more than one line.
            term:            term,
            ^^^^^^^^^^^^^^^^^^^^^
  lib/page/term_table.rb:91:32: C: Avoid comma after the last parameter of a method call.
            term:            term,
                                 ^

This commit fixes those errors in a way that seems to fit the local
style in this file.
  • Loading branch information
mhl committed Jan 26, 2017
1 parent 595f5b6 commit b2e507b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/page/term_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def group_data
def people
@people ||= term.people.sort_by { |e| [e.sort_name, e.name] }.map do |person|
PersonCard.new(
person: person,
term: term,
person: person,
term: term
)
end
end
Expand Down

0 comments on commit b2e507b

Please sign in to comment.