Skip to content

Enhanced RDoc for CSV::Table#165

Merged
kou merged 3 commits intoruby:masterfrom
BurdetteLamar:rdoc
Aug 17, 2020
Merged

Enhanced RDoc for CSV::Table#165
kou merged 3 commits intoruby:masterfrom
BurdetteLamar:rdoc

Conversation

@BurdetteLamar
Copy link
Member

Methods:

  • delete
  • delete_if
  • each
  • ==

Copy link
Contributor

@esparta esparta left a comment

Choose a reason for hiding this comment

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

Just questions about inclusion of documentation of by_row! & by_col!, a small typo and a suggestion for variable name -the last completely up to your decision.

lib/csv/table.rb Outdated
# headers. Use by_col!() or by_row!() to force the lookup.
# ---
#
# Returns rows as an \Array of \CSV::Row objects:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a little confused here; does delete need the example/explanation of by_row! ?

Copy link
Member Author

Choose a reason for hiding this comment

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

The by_row! call was not needed in the first place. Removed.

lib/csv/table.rb Outdated
#
# ---
#
# Returns columns data as column Arrays:
Copy link
Contributor

Choose a reason for hiding this comment

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

Same for by_row!, maybe a reference would be enough if needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Same as above. Removed.

@BurdetteLamar
Copy link
Member Author

@esparta, the re-request thingy did not work. Please re-review.

@BurdetteLamar
Copy link
Member Author

@kou, I think this is ready for you.

@esparta
Copy link
Contributor

esparta commented Aug 17, 2020

the re-request thingy did not work. Please re-review.

Hi @BurdetteLamar, I just re-review and I have no more comments.
Thanks!

@kou kou merged commit bce4b69 into ruby:master Aug 17, 2020
@kou
Copy link
Member

kou commented Aug 17, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants