Skip to content

Commit

Permalink
rubocop -a
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed May 30, 2018
1 parent c1ef18c commit b6f54c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/party_information.rb
Expand Up @@ -44,7 +44,7 @@ def id
end

def name
@name ||= match && match.last.first
@name ||= match&.last&.first
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/term_table_row/four_column.rb
Expand Up @@ -15,7 +15,7 @@ def name_cell
end

def party_name
tds[3] && tds[3].text.tidy
tds[3]&.text&.tidy
end
end
end

0 comments on commit b6f54c4

Please sign in to comment.