-
Notifications
You must be signed in to change notification settings - Fork 9
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
UI::HtmlDialog constructor #12
Comments
Also, the use of Apple UTIs in API examples, is confusing to people who don't use them or know what they are for, (especially MS Windows people.) The preferences key is used on Windows as a registry key name. (I wouldn't use periods in any of my registry key names.) Better to use the author's toplevel module name, plugin name and function joined with an underscore. preferences_key: "ACME_RoadRunnerKiller_Options", This reminds me of a long standing omission in the API docs. That they do not inform coders that their |
The YARD tend to show Now, in the SketchUp API docs you will still see usages of So there is an inconsistency there. Not sure what best fix is here, short of overriding how YARD deal with The other suggestions are easier to handle though. Would be nice to get into our next pass. |
Well, when I made my YARD docs from Ruby stubs so it came out different. It just looks weird. I thought YARD had a |
YARD uses tags to control visibility. You can filter by any tag. The most direct replacement of
I'm not sure if I follow what you are saying here. Got some example, screenshots?
I don't understand this one either? Turning documentation on/off? |
@DanRathbun - you have a script that generate stubs from YARD? Is that something you'd be willing to share? |
No. (I said the opposite.)
As mentioned in another thread: YARD can generate method documentation from directive comments only (without stubs.) See the directives in the YARD documentation: |
Migrated to stubs repo. CLOSING in this repo. |
UI::HtmlDialog
constructorlists under
initialize()
instead ofnew()
class constructor method.Example
a. uses frivolous literal hash. Ruby has always collected key / value pairs into a hash argument automatically.
b. Since this class can only be used with Ruby 2.2, it would make better sense to show named arguments which ruby will collect into a hash argument automatically.
The text was updated successfully, but these errors were encountered: