-
Notifications
You must be signed in to change notification settings - Fork 33
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
Enhanced RDoc for FileUtils #67
Conversation
lib/fileutils.rb
Outdated
# Returns true if +new+ is newer than all +old_list+. | ||
# Non-existent files are older than any file. | ||
# Returns +true+ if the file at path +new+ | ||
# is newer than all the files at paths in array +old_list+.; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the period is a typo
# is newer than all the files at paths in array +old_list+.; | |
# is newer than all the files at paths in array +old_list+; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
lib/fileutils.rb
Outdated
# Creates directories at the paths in the given +list+ (an array of strings); | ||
# returns +list+. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should mention that list
could also be a string (to create just a single directory).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Treats: