FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Changed stdout documentation to detail the 's' paramater by tomkadwill · Pull Request #39 · documenting-ruby/ruby · GitHub

forked from ruby/ruby

Changed stdout documentation to detail the 's' paramater - #39

Open
tomkadwill wants to merge 1 commit into
documenting-ruby:trunkfrom
tomkadwill:documented_debug_stdout_param
Open

Changed stdout documentation to detail the 's' paramater#39
tomkadwill wants to merge 1 commit into
documenting-ruby:trunkfrom
tomkadwill:documented_debug_stdout_param

Conversation

Copy link
Copy Markdown

Changed stdout documentation to reference the s parameter. stdout will no longer be flagged by rdoc as having an undocumented parameter.

This is my first Ruby documentation commit so let me know if I need to change anything :)

Comment thread lib/debug.rb

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

stdout is more readable. wdyt about changing this to

# Sets the IO used as +stdout+. Defaults to STDOUT
      def stdout=(stdout)
        @stdout = stdout
      end

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@vipulnsward Yes I think that does look better. I was thinking about that but didn't know whether it was called s for a reason. I've updated my PR to reflect the change that you suggested.

Copy link
Copy Markdown
Author

Any update on this? I would like to carry on documenting debug.rb but not sure if this change is good :)

/cc @zzak @nobu

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL