Skip to content

Conversation

@seicho
Copy link
Owner

@seicho seicho commented Aug 27, 2023

初めてのPRでの課題提出になります。確認お願いします。

else
puts n
end
} No newline at end of file
Copy link

Choose a reason for hiding this comment

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

末尾改行しましょう。
image
が出ているときは改行されてないです。今後も出ないようにしましょう。

Copy link
Owner Author

Choose a reason for hiding this comment

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

コメントありがとうございます。修正しました。

@@ -0,0 +1,12 @@
#!/usr/bin/env ruby
(1..20).each {|n|
Copy link

Choose a reason for hiding this comment

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

Rubyのブロックを複数行で書くときは {}でなくdo endを使うのが一般的ですね。

Copy link
Owner Author

Choose a reason for hiding this comment

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

ありがとうございます。修正しました

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.

3 participants