Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rubocop #1613

Merged
merged 1 commit into from
Dec 19, 2020
Merged

update rubocop #1613

merged 1 commit into from
Dec 19, 2020

Conversation

takahashim
Copy link
Collaborator

add rubocop-rake, suggested by rubocop

add rubocop-rake, suggested by rubocop
@@ -39,7 +39,7 @@ def inspect
# Construct Content object by passing a sequence of parameters or hash.
# Keys of +hash+ relate with each parameters.
# +file+ (or +hash+["file"]) is required. Others are optional.
def initialize(fileorhash, id = nil, media = nil, title = nil, level = nil, notoc = nil, properties = nil, chaptype = nil)
def initialize(fileorhash, id = nil, media = nil, title = nil, level = nil, notoc = nil, properties = nil, chaptype = nil) # rubocop:disable Metrics/ParameterLists
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rubocop:disable should be removed, IMO.

EPUBMaker::Content.new()は引数をハッシュ or 名前付き引数のみにしてしまった方が良さそうです。そうすればこのコメントは消せるはず)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そうしますー

@takahashim takahashim merged commit da89248 into master Dec 19, 2020
@takahashim takahashim deleted the update-rubocop branch December 19, 2020 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants